mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-03 01:19:42 +01:00
Someone used the wrong variable in a for.
This commit is contained in:
parent
88acbe655d
commit
e07e2bd7d1
@ -167,7 +167,7 @@ public List<ProtectedRegion> getIntersectingRegions(List<ProtectedRegion> region
|
|||||||
|
|
||||||
// Check whether the other regions points are inside the current region
|
// Check whether the other regions points are inside the current region
|
||||||
if (region instanceof ProtectedPolygonalRegion) {
|
if (region instanceof ProtectedPolygonalRegion) {
|
||||||
for (i2 = 0; i < ((ProtectedPolygonalRegion)region).getPoints().size(); i++) {
|
for (i2 = 0; i2 < ((ProtectedPolygonalRegion)region).getPoints().size(); i2++) {
|
||||||
BlockVector2D pt2Dr = ((ProtectedPolygonalRegion)region).getPoints().get(i2);
|
BlockVector2D pt2Dr = ((ProtectedPolygonalRegion)region).getPoints().get(i2);
|
||||||
int minYr = ((ProtectedPolygonalRegion)region).minY;
|
int minYr = ((ProtectedPolygonalRegion)region).minY;
|
||||||
int maxYr = ((ProtectedPolygonalRegion)region).maxY;
|
int maxYr = ((ProtectedPolygonalRegion)region).maxY;
|
||||||
|
Loading…
Reference in New Issue
Block a user