Class PlayerCloseArenaEditorInSetupGUI
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
de.marcely.bedwars.api.event.player.PlayerCloseArenaEditorInSetupGUI
- All Implemented Interfaces:
ArenaEvent
Gets called when player closes an arena editor inside the setup GUI (/bw arena setupgui)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Arena
getArena()
Returns the localArena
that is involved in this event.static HandlerList
Returns the arena that is involved in this event.Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerCloseArenaEditorInSetupGUI
-
-
Method Details
-
getArena
Returns the localArena
that is involved in this event.May be
null
if the arena isn't local.- Specified by:
getArena
in interfaceArenaEvent
- Returns:
- The arena that is involved. May be
null
-
getRemoteArena
Returns the arena that is involved in this event.- Returns:
- The involved arena
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-