From 1cd04e58a8042e240296ea8bc8e0d37b2db9973e Mon Sep 17 00:00:00 2001 From: asofold Date: Tue, 29 Jan 2013 16:44:23 +0100 Subject: [PATCH] L-O-L --- .../fr/neatmonster/nocheatplus/utilities/BlockProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/BlockProperties.java b/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/BlockProperties.java index 46f5b0ae..2df77bb8 100644 --- a/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/BlockProperties.java +++ b/NCPCompat/src/main/java/fr/neatmonster/nocheatplus/utilities/BlockProperties.java @@ -1281,7 +1281,7 @@ public class BlockProperties { final int iMinX = Location.locToBlock(minX); final int iMaxX = Location.locToBlock(maxX); final int iMinY = Location.locToBlock(minY - 0.5626); - if (iMinY > maxBlockY + 1) return false; + if (iMinY > maxBlockY) return false; final int iMaxY = Math.min(Location.locToBlock(maxY), maxBlockY); final int iMinZ = Location.locToBlock(minZ); final int iMaxZ = Location.locToBlock(maxZ);