3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-21 05:50:05 +01:00

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,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
} }