mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-06 04:23:02 +00:00
Fix /top so that glass counts as a real block.
This commit is contained in:
parent
dd12e5db66
commit
17adafecf9
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue