ignoreCancelled

Former-commit-id: 2172bf0e7a0f8568b8132e15b12b879c80ee4800 [formerly ddb8cad77a474354920301d134358b53800370e9]
Former-commit-id: 46055d13fe8d26f842357c4a37f568724b48cd58
This commit is contained in:
Ghost_chu committed 2018-12-09 21:10:03 +08:00
1 parent 110820b34f
commit f376afb9d9
1 file changed
+2 -2
@@ -22,7 +22,7 @@ public class WorldListener implements Listener {
this.plugin = plugin;
}
@EventHandler
@EventHandler(ignoreCancelled=true)
public void onWorldLoad(WorldLoadEvent e) {
/* *************************************
* This listener fixes any broken world references. Such as hashmap
@@ -63,7 +63,7 @@ public class WorldListener implements Listener {
}
}
@EventHandler(priority = EventPriority.MONITOR)
@EventHandler(priority = EventPriority.MONITOR,ignoreCancelled=true)
public void onWorldUnload(WorldUnloadEvent e) {
if(e.isCancelled()){
return;