Class EventHandlerRegistry
java.lang.Object
preponderous.ponder.minecraft.bukkit.tools.EventHandlerRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerEventHandlers(ArrayList<org.bukkit.event.Listener> listeners, org.bukkit.plugin.Plugin plugin)
Method to register multiple listeners for a given plugin.
-
Constructor Details
-
EventHandlerRegistry
public EventHandlerRegistry()
-
-
Method Details
-
registerEventHandlers
public void registerEventHandlers(ArrayList<org.bukkit.event.Listener> listeners, org.bukkit.plugin.Plugin plugin)Method to register multiple listeners for a given plugin.- Parameters:
listeners
- to register.plugin
- to register it for.- Throws:
IllegalArgumentException
- if the arguments are invalid.
-