Class EventHandlerRegistry

java.lang.Object
preponderous.ponder.minecraft.bukkit.tools.EventHandlerRegistry

public class EventHandlerRegistry extends Object
  • 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.