mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01: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
@ -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 New Issue
Block a user