Skip to content

Commit 7be0655

Browse files
authored
fix: do not create south road twice on unlink (#4713)
- this was changed from else if to if in 7623698#diff-b05df598e90ce5418467b07e84ef85a80be8bac7c70929063ace9ede4d5cf52eL1000 (for unknown reason) - fixes #4704
1 parent 774298b commit 7be0655

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Core/src/main/java/com/plotsquared/core/plot/PlotModificationManager.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,7 @@ public boolean unlinkPlot(final boolean createRoad, final boolean createSign, fi
371371
manager.createRoadSouthEast(current, queue);
372372
}
373373
}
374-
}
375-
if (current.isMerged(Direction.SOUTH)) {
374+
} else if (current.isMerged(Direction.SOUTH)) {
376375
manager.createRoadSouth(current, queue);
377376
}
378377
}

0 commit comments

Comments
 (0)