diff --git a/src/de/steamwar/spectatesystem/util/WorldLoader.java b/src/de/steamwar/spectatesystem/util/WorldLoader.java index 75c00b6..b767022 100644 --- a/src/de/steamwar/spectatesystem/util/WorldLoader.java +++ b/src/de/steamwar/spectatesystem/util/WorldLoader.java @@ -55,7 +55,13 @@ public class WorldLoader { for(int cZ = (int) Math.floor(Config.ArenaMinZ / 16.0); cZ <= (int) Math.floor(Config.ArenaMaxZ / 16.0); cZ++){ int finalCX = cX; int finalCZ = cZ; - Bukkit.getScheduler().runTaskLater(SpectateSystem.get(), () -> reloadChunk(backupWorld, finalCX, finalCZ), delay++); + Bukkit.getScheduler().runTaskLater(SpectateSystem.get(), () -> { + reloadChunk(backupWorld, finalCX, finalCZ); + if(finalCZ < 0) + System.out.println("Reload chunk " + finalCX + " " + finalCZ); + }, delay++); + if(cZ < 0) + System.out.println("Scheduled chunk " + cX + " " + cZ); } }