mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 11:40:41 +00:00
Fix issue with road generation during unlink
Roads should always be created with respect to `current`.
This commit is contained in:
parent
fb478de164
commit
95cb0d84f0
1 changed files with 3 additions and 3 deletions
|
@ -949,13 +949,13 @@ public class Plot {
|
|||
for (Plot current : plots) {
|
||||
if (current.getMerged(Direction.EAST)) {
|
||||
manager.createRoadEast(current.area, current);
|
||||
if (getMerged(Direction.SOUTH)) {
|
||||
if (current.getMerged(Direction.SOUTH)) {
|
||||
manager.createRoadSouth(current.area, current);
|
||||
if (getMerged(Direction.SOUTHEAST)) {
|
||||
if (current.getMerged(Direction.SOUTHEAST)) {
|
||||
manager.createRoadSouthEast(current.area, current);
|
||||
}
|
||||
}
|
||||
} else if (getMerged(Direction.SOUTH)) {
|
||||
} else if (current.getMerged(Direction.SOUTH)) {
|
||||
manager.createRoadSouth(current.area, current);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue