mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-14 11:41:26 +01:00
Merge pull request #472 from Glitchfinder/master
Alleviating excessive lag.
This commit is contained in:
commit
ff4832a6a2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user