Archiviert
13
0

Make periodic chunk saving less aggressive and fixed double player data saving. Fixes BUKKIT-1994 and fixes BUKKIT-2144

Dieser Commit ist enthalten in:
EvilSeph 2012-08-07 18:52:53 -04:00
Ursprung 05b5a068cb
Commit a133bc7182

Datei anzeigen

@ -307,17 +307,13 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC
log.info("Saving chunks for level \'" + worldserver.getWorldData().getName() + "\'/" + worldserver.worldProvider);
}
worldserver.save(true, (IProgressUpdate) null);
worldserver.save(false, (IProgressUpdate) null); // Queue chunk saving
worldserver.saveLevel();
WorldSaveEvent event = new WorldSaveEvent(worldserver.getWorld());
this.server.getPluginManager().callEvent(event);
}
}
if (!this.worlds.get(0).savingDisabled) {
this.getServerConfigurationManager().savePlayers();
}
// CraftBukkit end
}
}