Fix /top so that glass counts as a real block.

This commit is contained in:
KHobbits 2012-08-08 23:00:09 +01:00
parent dd12e5db66
commit 17adafecf9
2 changed files with 3 additions and 3 deletions

View file

@ -368,7 +368,7 @@ public class Util
while (isBlockUnsafe(world, x, y, z))
{
y += 1;
if (y >= world.getHighestBlockYAt(x, z))
if (y >= world.getMaxHeight())
{
x += 1;
break;