Re-add support for full chunk saving so the server save-alls on stop. Fixes BUKKIT-2158
Dieser Commit ist enthalten in:
Ursprung
a133bc7182
Commit
24809ef986
@ -305,9 +305,11 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC
|
||||
if (worldserver != null) {
|
||||
if (!flag) {
|
||||
log.info("Saving chunks for level \'" + worldserver.getWorldData().getName() + "\'/" + worldserver.worldProvider);
|
||||
worldserver.save(true, (IProgressUpdate) null); // Perform a full save
|
||||
} else {
|
||||
worldserver.save(false, (IProgressUpdate) null); // Queue chunk saving
|
||||
}
|
||||
|
||||
worldserver.save(false, (IProgressUpdate) null); // Queue chunk saving
|
||||
worldserver.saveLevel();
|
||||
|
||||
WorldSaveEvent event = new WorldSaveEvent(worldserver.getWorld());
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren