From a2db2e8268cf632431f3872c33089e4d24fbca66 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Wed, 13 May 2020 13:23:40 +0100 Subject: [PATCH] Add return --- Core/src/main/java/com/plotsquared/core/plot/Plot.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/src/main/java/com/plotsquared/core/plot/Plot.java b/Core/src/main/java/com/plotsquared/core/plot/Plot.java index 1971c56d3..d2111eadb 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/Plot.java +++ b/Core/src/main/java/com/plotsquared/core/plot/Plot.java @@ -996,6 +996,7 @@ public class Plot { @Override public void run() { if (regions.isEmpty()) { TaskManager.runTask(whenDone); + return; } CuboidRegion region = regions.poll(); RegionManager.manager.setBiome(region, extendBiome, biome, getWorldName(), this);