Class ArenaRegenerationStopEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.arena.ArenaRegenerationStopEvent
- All Implemented Interfaces:
ArenaEvent
Gets called when an arena stopped or cancelled the regeneration
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionArenaRegenerationStopEvent(Arena arena, @Nullable CommandSenderWrapper sender) -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList@Nullable CommandSenderReturns the person/sender who stopped it.@Nullable CommandSenderWrapperReturns the person/sender who stopped it.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronousMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.marcely.bedwars.api.event.arena.ArenaEvent
getArena
-
Constructor Details
-
ArenaRegenerationStopEvent
-
-
Method Details
-
getSender
Returns the person/sender who stopped it.Can be
nullif not a person (or e.g. nobody on this server) caused it.- Returns:
- The person/sender behind this
-
getSenderWrapped
Returns the person/sender who stopped it.May be
nullif not a person caused it.- Returns:
- The person/sender behind this
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-