소스 검색

Fix comment
Fixes #4496

nossr50 4 년 전
부모
커밋
317f966f73
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
     }