Class SpectatorQuitArenaEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
de.marcely.bedwars.api.event.player.SpectatorQuitArenaEvent
- All Implemented Interfaces:
ArenaEvent
Gets called when a spectator leaves the arena
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Field Summary
Fields inherited from class PlayerEvent
player -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArena()Returns the arena that he left.static HandlerListReturns the reason why he left the arena.Returns the spectator.Methods inherited from class PlayerEvent
getPlayerMethods inherited from class Event
getEventName, isAsynchronous
-
Constructor Details
-
SpectatorQuitArenaEvent
-
-
Method Details
-
getSpectator
-
getReason
Returns the reason why he left the arena.- Returns:
- The reason
-
getArena
Returns the arena that he left.- Specified by:
getArenain interfaceArenaEvent- Returns:
- The arena involved in this
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-