Archiviert
13
0

Fixed chunks saving more than they need to. Thanks Rigby!

Dieser Commit ist enthalten in:
EvilSeph 2011-06-05 11:54:56 -04:00
Ursprung 86de98da9c
Commit 7499e2e0df

Datei anzeigen

@ -265,13 +265,11 @@ public class MinecraftServer implements Runnable, ICommandListener {
this.serverConfigurationManager.savePlayers();
}
// CraftBukkit start
for (int i = 0; i < this.worlds.size(); ++i) {
WorldServer worldserver = this.worlds.get(i);
// CraftBukkit start - multiworld is handled in saveChunks() already.
WorldServer worldserver = this.worlds.get(0);
if (worldserver != null) {
this.saveChunks();
}
if (worldserver != null) {
this.saveChunks();
}
// CraftBukkit end
}