Fix rounding error on partial negative coordinates (#1147)
This commit is contained in:
parent
c014901b7a
commit
d126b90ce9
|
|
@ -730,8 +730,8 @@ public class Claim
|
|||
//not in the same world implies false
|
||||
if (!Objects.equals(location.getWorld(), this.lesserBoundaryCorner.getWorld())) return false;
|
||||
|
||||
int x = (int) location.getX();
|
||||
int z = (int) location.getZ();
|
||||
int x = location.getBlockX();
|
||||
int z = location.getBlockZ();
|
||||
int y;
|
||||
if (ignoreHeight) {
|
||||
y = location.getBlockY();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user