Package de.marcely.bedwars.api.event
Class AddonUnregisterEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.AddonUnregisterEvent
Gets called when an addon is being unregistered.
This may happen when BedwarsAddon.unregister()
is being called or when the plugin that created it is being unloaded.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAddon()
Returns the addon that has been unregistered.static HandlerList
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
AddonUnregisterEvent
-
-
Method Details
-
getAddon
Returns the addon that has been unregistered.- Returns:
- The addon involved in this event
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-