Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 05:20:07 +01:00
Reverted changes to chunk saving behaviour.
Dieser Commit ist enthalten in:
Ursprung
beee3ce2da
Commit
4c0dd6964e
@ -306,11 +306,9 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC
|
|||||||
if (worldserver != null) {
|
if (worldserver != null) {
|
||||||
if (!flag) {
|
if (!flag) {
|
||||||
log.info("Saving chunks for level \'" + worldserver.getWorldData().getName() + "\'/" + worldserver.worldProvider.getName());
|
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();
|
worldserver.saveLevel();
|
||||||
|
|
||||||
WorldSaveEvent event = new WorldSaveEvent(worldserver.getWorld());
|
WorldSaveEvent event = new WorldSaveEvent(worldserver.getWorld());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren