From ffa3e2f80f71fc06f938f628c98b9428c13a6c42 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Sat, 26 Jul 2025 14:43:29 +0100 Subject: [PATCH] fix: do not create south road twice on unlink - this was changed from else if to if in https://github.com/IntellectualSites/PlotSquared/commit/7623698a005a727dc0e3ed6911092498731500d9#diff-b05df598e90ce5418467b07e84ef85a80be8bac7c70929063ace9ede4d5cf52eL1000 (for unknown reason) - fixes #4704 --- .../com/plotsquared/core/plot/PlotModificationManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/plot/PlotModificationManager.java b/Core/src/main/java/com/plotsquared/core/plot/PlotModificationManager.java index 3fa8d3dd4..cc2f1f070 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/PlotModificationManager.java +++ b/Core/src/main/java/com/plotsquared/core/plot/PlotModificationManager.java @@ -371,8 +371,7 @@ public final class PlotModificationManager { manager.createRoadSouthEast(current, queue); } } - } - if (current.isMerged(Direction.SOUTH)) { + } else if (current.isMerged(Direction.SOUTH)) { manager.createRoadSouth(current, queue); } }