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

This commit is contained in:
EvilSeph 2011-06-05 11:54:56 -04:00
parent 86de98da9c
commit 7499e2e0df

View File

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