mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 13:07:06 +01:00
Reverted changes to chunk saving behaviour.
This commit is contained in:
parent
beee3ce2da
commit
4c0dd6964e
1 changed files with 1 additions and 3 deletions
|
@ -306,11 +306,9 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC
|
|||
if (worldserver != null) {
|
||||
if (!flag) {
|
||||
log.info("Saving chunks for level \'" + worldserver.getWorldData().getName() + "\'/" + worldserver.worldProvider.getName());
|
||||
worldserver.save(true, (IProgressUpdate) null); // Perform a full save
|
||||
} else {
|
||||
worldserver.save(false, (IProgressUpdate) null); // Queue chunk saving
|
||||
}
|
||||
|
||||
worldserver.save(true, (IProgressUpdate) null);
|
||||
worldserver.saveLevel();
|
||||
|
||||
WorldSaveEvent event = new WorldSaveEvent(worldserver.getWorld());
|
||||
|
|
Loading…
Reference in a new issue