mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 13:15:30 +01:00
Fix break in 1.1 event processing on /dynmap reload
This commit is contained in:
parent
c7b9bea340
commit
3b19d11694
@ -56,8 +56,9 @@ public class BukkitEventProcessor {
|
||||
List<Listener> ll = event_handlers.get(t);
|
||||
ll.clear(); /* Empty list - we use presence of list to remember that we've registered with Bukkit */
|
||||
}
|
||||
pm = null;
|
||||
plugin = null;
|
||||
if(plugin.getServer().getVersion().contains("(MC: 1.0") == false) {
|
||||
event_handlers.clear();
|
||||
}
|
||||
}
|
||||
|
||||
private BlockListener ourBlockEventHandler = new BlockListener() {
|
||||
|
Loading…
Reference in New Issue
Block a user