mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
All worlds should be saved on save-all. Player data should be saved when a save occurs.
This commit is contained in:
@@ -28,7 +28,7 @@ public class ConsoleCommandHandler {
|
||||
this.b.a();
|
||||
} else if (s.toLowerCase().startsWith("save-all")) {
|
||||
this.a(s1, "Forcing save..");
|
||||
worldserver.a(true, (IProgressUpdate) null);
|
||||
this.b.f(); // CraftBukkit - We should save all worlds on save-all.
|
||||
this.a(s1, "Save complete.");
|
||||
} else if (s.toLowerCase().startsWith("save-off")) {
|
||||
this.a(s1, "Disabling level saving..");
|
||||
|
Reference in New Issue
Block a user