mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 19:07:40 +01:00
Save player data on save-all.
This commit is contained in:
parent
be10e54235
commit
e79139d3f2
@ -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..");
|
||||
|
Loading…
Reference in New Issue
Block a user