mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-06 18:50:54 +01:00
L-O-L
This commit is contained in:
parent
5e83ec004b
commit
1cd04e58a8
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user