Add return

This commit is contained in:
dordsor21 2020-05-13 13:23:40 +01:00
parent 617abf89e6
commit a2db2e8268

View file

@ -996,6 +996,7 @@ public class Plot {
@Override public void run() { @Override public void run() {
if (regions.isEmpty()) { if (regions.isEmpty()) {
TaskManager.runTask(whenDone); TaskManager.runTask(whenDone);
return;
} }
CuboidRegion region = regions.poll(); CuboidRegion region = regions.poll();
RegionManager.manager.setBiome(region, extendBiome, biome, getWorldName(), this); RegionManager.manager.setBiome(region, extendBiome, biome, getWorldName(), this);