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
ConstructorDescriptionArenaRegenerationStopEvent
(Arena arena, @Nullable CommandSenderWrapper sender) -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
@Nullable CommandSender
Returns the person/sender who stopped it.@Nullable CommandSenderWrapper
Returns the person/sender who stopped it.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
null
if 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
null
if not a person caused it.- Returns:
- The person/sender behind this
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-