From 317f966f73c2b2218bdc846ed6186475ac098e02 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Sun, 18 Apr 2021 17:31:20 -0700 Subject: [PATCH] Fix comment Fixes #4496 --- src/main/java/com/gmail/nossr50/util/BlockUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/util/BlockUtils.java b/src/main/java/com/gmail/nossr50/util/BlockUtils.java index 984ccbdaf..dada7a1bf 100644 --- a/src/main/java/com/gmail/nossr50/util/BlockUtils.java +++ b/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); }