Fix break in 1.1 event processing on /dynmap reload

This commit is contained in:
Mike Primm 2012-02-05 12:07:44 -06:00
parent c7b9bea340
commit 3b19d11694

View File

@ -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() {