Java Code Examples for org.bukkit.event.HandlerList

The following are top voted examples for showing how to use
org.bukkit.event.HandlerList. These examples are extracted from open source projects.
You can vote up the examples you like and your votes will be used in our system to generate
more good examples.

/**
* Clear the list and stop listening for events. This map should not be used after this method is called.
*/
public void disable() {
if(this.enabled) {
this.clear();
HandlerList.unregisterAll(this);
}
}