Fix for "/region claim" claiming overlapping region when none exists.

This commit is contained in:
Moo0 2011-04-09 21:04:21 +08:00 committed by
parent af25c15286
commit 7038f49a1a

View File

@ -148,7 +148,7 @@ public List<ProtectedRegion> getIntersectingRegions(List<ProtectedRegion> region
|| (rMinPoint.getBlockY() > max.getBlockY() && rMaxPoint.getBlockY() > max.getBlockY()))
&& ((rMinPoint.getBlockZ() < min.getBlockZ() && rMaxPoint.getBlockZ() < min.getBlockZ())
|| (rMinPoint.getBlockZ() > max.getBlockZ() && rMaxPoint.getBlockZ() > max.getBlockZ())) ) {
intersectingRegions.add(regions.get(i));
//intersectingRegions.add(regions.get(i));
continue;
}