geforkt von Mirrors/Paper
Make periodic chunk saving less aggressive and fixed double player data saving. Fixes BUKKIT-1994 and fixes BUKKIT-2144
Dieser Commit ist enthalten in:
Ursprung
05b5a068cb
Commit
a133bc7182
@ -307,17 +307,13 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC
|
|||||||
log.info("Saving chunks for level \'" + worldserver.getWorldData().getName() + "\'/" + worldserver.worldProvider);
|
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();
|
worldserver.saveLevel();
|
||||||
|
|
||||||
WorldSaveEvent event = new WorldSaveEvent(worldserver.getWorld());
|
WorldSaveEvent event = new WorldSaveEvent(worldserver.getWorld());
|
||||||
this.server.getPluginManager().callEvent(event);
|
this.server.getPluginManager().callEvent(event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.worlds.get(0).savingDisabled) {
|
|
||||||
this.getServerConfigurationManager().savePlayers();
|
|
||||||
}
|
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren