Explorar o código

Fix comment
Fixes #4496

nossr50 %!s(int64=4) %!d(string=hai) anos
pai
achega
317f966f73
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/java/com/gmail/nossr50/util/BlockUtils.java

+ 1 - 1
src/main/java/com/gmail/nossr50/util/BlockUtils.java

@@ -292,7 +292,7 @@ public final class BlockUtils {
     public static boolean isWithinWorldBounds(@NotNull WorldCompatibilityLayer worldCompatibilityLayer, @NotNull Block block) {
         World world = block.getWorld();
 
-        //pretty sure both height and min height are able to have blocks placed on them
+        //World min height = inclusive | World max height = exclusive
         return block.getY() >= worldCompatibilityLayer.getMinWorldHeight(world) && block.getY() < worldCompatibilityLayer.getMaxWorldHeight(world);
     }