Adding debug output
Dieser Commit ist enthalten in:
Ursprung
3200734a37
Commit
a555478205
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren