summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server
diff options
context:
space:
mode:
authorEvilSeph <evilseph@unaligned.org>2011-02-04 22:49:24 -0500
committerEvilSeph <evilseph@unaligned.org>2011-02-04 22:49:24 -0500
commite79139d3f240a71579f3ce361a23472ca75b0e2a (patch)
treeae4f949a74315b735aee0626b17998332cfb34ff /src/main/java/net/minecraft/server
parentbe10e54235aa29d90ba52bc8fd98825081a68b13 (diff)
downloadcraftbukkit-e79139d3f240a71579f3ce361a23472ca75b0e2a.tar
craftbukkit-e79139d3f240a71579f3ce361a23472ca75b0e2a.tar.gz
craftbukkit-e79139d3f240a71579f3ce361a23472ca75b0e2a.tar.lz
craftbukkit-e79139d3f240a71579f3ce361a23472ca75b0e2a.tar.xz
craftbukkit-e79139d3f240a71579f3ce361a23472ca75b0e2a.zip
Save player data on save-all.
Diffstat (limited to 'src/main/java/net/minecraft/server')
-rw-r--r--src/main/java/net/minecraft/server/MinecraftServer.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
index 79ae3ee0..5fcff48f 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
@@ -321,6 +321,9 @@ public class MinecraftServer implements ICommandListener, Runnable {
} else if (s.toLowerCase().startsWith("save-all")) {
this.a(s1, "Forcing save..");
this.e.a(true, (IProgressUpdate) null);
+ // Craftbukkit start -- save player data on save-all.
+ this.f.d();
+ // Craftbukkit end
this.a(s1, "Save complete.");
} else if (s.toLowerCase().startsWith("save-off")) {
this.a(s1, "Disabling level saving..");