13
0

Adding debug output

Dieser Commit ist enthalten in:
Lixfel 2020-11-02 12:52:05 +01:00
Ursprung 3200734a37
Commit a555478205

Datei anzeigen

@ -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);
}
}