Fix mistakes

This commit is contained in:
nossr50
2021-04-18 17:28:27 -07:00
parent 2c44590c52
commit a844f27093
2 changed files with 18 additions and 4 deletions

View File

@ -293,7 +293,7 @@ public final class BlockUtils {
World world = block.getWorld();
//pretty sure both height and min height are able to have blocks placed on them
return block.getY() >= worldCompatibilityLayer.getMinWorldHeight(world) && block.getY() <= worldCompatibilityLayer.getMaxWorldHeight(world);
return block.getY() >= worldCompatibilityLayer.getMinWorldHeight(world) && block.getY() < worldCompatibilityLayer.getMaxWorldHeight(world);
}
}