Fix: Commands don't work with small claims.
Actually it depends on where you're standing (two edges have a problem). Smaller claims mean you're more likely to be standing on a bad edge, so smaller claims were more impacted.
This commit is contained in:
parent
f901ce2793
commit
cd086ae3b7
|
|
@ -649,9 +649,9 @@ public class Claim
|
||||||
//main check
|
//main check
|
||||||
boolean inClaim = (ignoreHeight || y >= this.lesserBoundaryCorner.getY()) &&
|
boolean inClaim = (ignoreHeight || y >= this.lesserBoundaryCorner.getY()) &&
|
||||||
x >= this.lesserBoundaryCorner.getX() &&
|
x >= this.lesserBoundaryCorner.getX() &&
|
||||||
x <= this.greaterBoundaryCorner.getX() &&
|
x < this.greaterBoundaryCorner.getX() + 1 &&
|
||||||
z >= this.lesserBoundaryCorner.getZ() &&
|
z >= this.lesserBoundaryCorner.getZ() &&
|
||||||
z <= this.greaterBoundaryCorner.getZ();
|
z < this.greaterBoundaryCorner.getZ() + 1;
|
||||||
|
|
||||||
if(!inClaim) return false;
|
if(!inClaim) return false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user