This commit is contained in:
asofold 2013-01-29 16:44:23 +01:00
parent 5e83ec004b
commit 1cd04e58a8

View File

@ -1281,7 +1281,7 @@ public class BlockProperties {
final int iMinX = Location.locToBlock(minX); final int iMinX = Location.locToBlock(minX);
final int iMaxX = Location.locToBlock(maxX); final int iMaxX = Location.locToBlock(maxX);
final int iMinY = Location.locToBlock(minY - 0.5626); 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 iMaxY = Math.min(Location.locToBlock(maxY), maxBlockY);
final int iMinZ = Location.locToBlock(minZ); final int iMinZ = Location.locToBlock(minZ);
final int iMaxZ = Location.locToBlock(maxZ); final int iMaxZ = Location.locToBlock(maxZ);