mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 13:46:46 +01:00
Disabling the place store saveWorld call for when a world is saved due to excessive lag.
This commit is contained in:
parent
f7ef2b768f
commit
771ef6e16e
@ -38,10 +38,10 @@ public class WorldListener implements Listener {
|
|||||||
mcMMO.placeStore.unloadWorld(event.getWorld());
|
mcMMO.placeStore.unloadWorld(event.getWorld());
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
//@EventHandler
|
||||||
public void onWorldSave(WorldSaveEvent event) {
|
//public void onWorldSave(WorldSaveEvent event) {
|
||||||
mcMMO.placeStore.saveWorld(event.getWorld());
|
// mcMMO.placeStore.saveWorld(event.getWorld());
|
||||||
}
|
//}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onChunkUnload(ChunkUnloadEvent event) {
|
public void onChunkUnload(ChunkUnloadEvent event) {
|
||||||
|
Loading…
Reference in New Issue
Block a user