From a133bc718241d7d7353a09cedef1b06e6c92ee22 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Tue, 7 Aug 2012 18:52:53 -0400 Subject: [PATCH] Make periodic chunk saving less aggressive and fixed double player data saving. Fixes BUKKIT-1994 and fixes BUKKIT-2144 --- src/main/java/net/minecraft/server/MinecraftServer.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java index 3e779357a4..3411258318 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -307,17 +307,13 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC log.info("Saving chunks for level \'" + worldserver.getWorldData().getName() + "\'/" + worldserver.worldProvider); } - worldserver.save(true, (IProgressUpdate) null); + worldserver.save(false, (IProgressUpdate) null); // Queue chunk saving worldserver.saveLevel(); WorldSaveEvent event = new WorldSaveEvent(worldserver.getWorld()); this.server.getPluginManager().callEvent(event); } } - - if (!this.worlds.get(0).savingDisabled) { - this.getServerConfigurationManager().savePlayers(); - } // CraftBukkit end } }