mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-12 01:41:05 +01:00
Save player data on save-all.
This commit is contained in:
parent
be10e54235
commit
e79139d3f2
1 changed files with 3 additions and 0 deletions
|
@ -321,6 +321,9 @@ public class MinecraftServer implements ICommandListener, Runnable {
|
||||||
} else if (s.toLowerCase().startsWith("save-all")) {
|
} else if (s.toLowerCase().startsWith("save-all")) {
|
||||||
this.a(s1, "Forcing save..");
|
this.a(s1, "Forcing save..");
|
||||||
this.e.a(true, (IProgressUpdate) null);
|
this.e.a(true, (IProgressUpdate) null);
|
||||||
|
// Craftbukkit start -- save player data on save-all.
|
||||||
|
this.f.d();
|
||||||
|
// Craftbukkit end
|
||||||
this.a(s1, "Save complete.");
|
this.a(s1, "Save complete.");
|
||||||
} else if (s.toLowerCase().startsWith("save-off")) {
|
} else if (s.toLowerCase().startsWith("save-off")) {
|
||||||
this.a(s1, "Disabling level saving..");
|
this.a(s1, "Disabling level saving..");
|
||||||
|
|
Loading…
Reference in a new issue