Save player data on save-all.

This commit is contained in:
EvilSeph 2011-02-04 22:49:24 -05:00
parent be10e54235
commit e79139d3f2

View file

@ -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..");