From e79139d3f240a71579f3ce361a23472ca75b0e2a Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Fri, 4 Feb 2011 22:49:24 -0500 Subject: Save player data on save-all. --- src/main/java/net/minecraft/server/MinecraftServer.java | 3 +++ 1 file changed, 3 insertions(+) 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.."); -- cgit v1.2.3