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:
ryanhamshire 2014-11-19 18:58:50 -08:00
parent f901ce2793
commit cd086ae3b7

View File

@ -649,9 +649,9 @@ public class Claim
//main check
boolean inClaim = (ignoreHeight || y >= this.lesserBoundaryCorner.getY()) &&
x >= this.lesserBoundaryCorner.getX() &&
x <= this.greaterBoundaryCorner.getX() &&
x < this.greaterBoundaryCorner.getX() + 1 &&
z >= this.lesserBoundaryCorner.getZ() &&
z <= this.greaterBoundaryCorner.getZ();
z < this.greaterBoundaryCorner.getZ() + 1;
if(!inClaim) return false;