mirror of
https://github.com/kaboomserver/extras.git
synced 2025-02-11 11:40:19 +00:00
Fix world height
This commit is contained in:
parent
f5e6fdd539
commit
524f646563
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ class Events implements Listener {
|
|||
} else if (block.getRelative(BlockFace.DOWN).getType() == Material.AIR ||
|
||||
(main.nonSolidBlockList.contains(block.getRelative(BlockFace.DOWN).getType()) &&
|
||||
!main.nonSolidDoubleBlockList.contains(block.getRelative(BlockFace.DOWN).getType()))) {
|
||||
for (int y = block.getRelative(BlockFace.UP).getY(); y <= 128; y++) {
|
||||
for (int y = block.getRelative(BlockFace.UP).getY(); y <= 256; y++) {
|
||||
World world = event.getBlock().getWorld();
|
||||
Block coordBlock = world.getBlockAt(new Location(world, block.getX(), y, block.getZ()));
|
||||
|
||||
|
|
Loading…
Reference in a new issue