Class ArenaRegenerationStopEvent

java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.arena.ArenaRegenerationStopEvent
All Implemented Interfaces:
ArenaEvent

public class ArenaRegenerationStopEvent extends Event implements ArenaEvent
Gets called when an arena stopped or cancelled the regeneration
  • Constructor Details

    • ArenaRegenerationStopEvent

      public ArenaRegenerationStopEvent(Arena arena, @Nullable @Nullable CommandSenderWrapper sender)
  • Method Details

    • getSender

      @Nullable public @Nullable CommandSender 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

      @Nullable public @Nullable CommandSenderWrapper getSenderWrapped()
      Returns the person/sender who stopped it.

      May be null if not a person caused it.

      Returns:
      The person/sender behind this
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()