summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEvilSeph <evilseph@gmail.com>2012-09-12 20:50:44 -0400
committerEvilSeph <evilseph@gmail.com>2012-09-12 22:06:35 -0400
commit4c0dd6964eebbfb2a3dd3ab8abc0de790c2fef2a (patch)
treebcad80e886cee5416595780602eeb672779097d6 /src
parentbeee3ce2dab695e83cf4f66bb055e504dc36ada7 (diff)
downloadcraftbukkit-4c0dd6964eebbfb2a3dd3ab8abc0de790c2fef2a.tar
craftbukkit-4c0dd6964eebbfb2a3dd3ab8abc0de790c2fef2a.tar.gz
craftbukkit-4c0dd6964eebbfb2a3dd3ab8abc0de790c2fef2a.tar.lz
craftbukkit-4c0dd6964eebbfb2a3dd3ab8abc0de790c2fef2a.tar.xz
craftbukkit-4c0dd6964eebbfb2a3dd3ab8abc0de790c2fef2a.zip
Reverted changes to chunk saving behaviour.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/net/minecraft/server/MinecraftServer.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
index 655a8320..f455f714 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
@@ -306,11 +306,9 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC
if (worldserver != null) {
if (!flag) {
log.info("Saving chunks for level \'" + worldserver.getWorldData().getName() + "\'/" + worldserver.worldProvider.getName());
- worldserver.save(true, (IProgressUpdate) null); // Perform a full save
- } else {
- worldserver.save(false, (IProgressUpdate) null); // Queue chunk saving
}
+ worldserver.save(true, (IProgressUpdate) null);
worldserver.saveLevel();
WorldSaveEvent event = new WorldSaveEvent(worldserver.getWorld());