summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft
diff options
context:
space:
mode:
authorEvilSeph <evilseph@gmail.com>2012-08-07 18:52:53 -0400
committerEvilSeph <evilseph@gmail.com>2012-08-07 18:52:53 -0400
commita133bc718241d7d7353a09cedef1b06e6c92ee22 (patch)
treec8c947d1109719a046d0a47619313dfff58a286e /src/main/java/net/minecraft
parent05b5a068cb0ab75a5f02a2a55589fd593b230dec (diff)
downloadcraftbukkit-a133bc718241d7d7353a09cedef1b06e6c92ee22.tar
craftbukkit-a133bc718241d7d7353a09cedef1b06e6c92ee22.tar.gz
craftbukkit-a133bc718241d7d7353a09cedef1b06e6c92ee22.tar.lz
craftbukkit-a133bc718241d7d7353a09cedef1b06e6c92ee22.tar.xz
craftbukkit-a133bc718241d7d7353a09cedef1b06e6c92ee22.zip
Make periodic chunk saving less aggressive and fixed double player data saving. Fixes BUKKIT-1994 and fixes BUKKIT-2144
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r--src/main/java/net/minecraft/server/MinecraftServer.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
index 3e779357..34112583 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
}
}