More work on unlinking

This commit is contained in:
boy0001 2015-05-01 21:00:17 +10:00
parent e792a85c00
commit 435e33d079
5 changed files with 254 additions and 244 deletions

View file

@ -420,7 +420,7 @@ public class MainUtil {
if (ly) {
if (!plot.settings.getMerged(1) || !plot.settings.getMerged(2)) {
if (removeRoads) {
manager.removeRoadSouthEast(plotworld, plot);
MainUtil.removeRoadSouthEast(plotworld, plot);
}
}
}
@ -512,7 +512,7 @@ public class MainUtil {
lesserPlot.settings.setMerged(2, true);
greaterPlot.settings.setMerged(0, true);
if (removeRoads) {
manager.removeRoadSouth(plotworld, lesserPlot);
MainUtil.removeRoadSouth(plotworld, lesserPlot);
}
}
} else {
@ -520,7 +520,7 @@ public class MainUtil {
lesserPlot.settings.setMerged(1, true);
greaterPlot.settings.setMerged(3, true);
if (removeRoads) {
manager.removeRoadEast(plotworld, lesserPlot);
MainUtil.removeRoadEast(plotworld, lesserPlot);
}
}
}