Move enqueue to the actual end of the code

This commit is contained in:
SirYwell 2021-06-04 18:41:57 +02:00
parent cb342de934
commit 955341ff9f

View File

@ -361,11 +361,13 @@ public final class PlotModificationManager {
current.getPlotModificationManager().setSign(PlayerManager.getName(current.getOwnerAbs())); current.getPlotModificationManager().setSign(PlayerManager.getName(current.getOwnerAbs()));
} }
})); }));
queue.enqueue();
} }
if (createRoad) { if (createRoad) {
manager.finishPlotUnlink(ids, queue); manager.finishPlotUnlink(ids, queue);
} }
if (queue != null) {
queue.enqueue();
}
return true; return true;
} }