Merge pull request #472 from Glitchfinder/master

Alleviating excessive lag.
This commit is contained in:
Glitchfinder 2013-01-10 11:25:59 -08:00
commit ff4832a6a2

View File

@ -38,10 +38,12 @@ public class WorldListener implements Listener {
mcMMO.placeStore.unloadWorld(event.getWorld());
}
@EventHandler
public void onWorldSave(WorldSaveEvent event) {
mcMMO.placeStore.saveWorld(event.getWorld());
}
// This gets called every 45 seconds, by default.
// The call can and does result in excessive lag, especially on larger servers.
//@EventHandler
//public void onWorldSave(WorldSaveEvent event) {
// mcMMO.placeStore.saveWorld(event.getWorld());
//}
@EventHandler
public void onChunkUnload(ChunkUnloadEvent event) {