mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 12:25:46 +01:00
fix: run whenDone on empty queue (#3474)
This commit is contained in:
parent
ff5d79699d
commit
92c54de5e9
@ -262,7 +262,9 @@ public final class PlotModificationManager {
|
||||
if (queue.size() > 0) {
|
||||
queue.setCompleteTask(run);
|
||||
queue.enqueue();
|
||||
return;
|
||||
}
|
||||
run.run();
|
||||
return;
|
||||
}
|
||||
Plot current = queue.poll();
|
||||
|
Loading…
Reference in New Issue
Block a user