diff options
-rw-r--r-- | src/main/java/net/minecraft/server/MinecraftServer.java | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java index c4a0d363..cfd527ef 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -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 } |