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

public class PlayerCloseArenaEditorInSetupGUI extends PlayerEvent implements ArenaEvent
Gets called when player closes an arena editor inside the setup GUI (/bw arena setupgui)
  • Constructor Details

    • PlayerCloseArenaEditorInSetupGUI

      public PlayerCloseArenaEditorInSetupGUI(Player player, RemoteArena arena)
  • Method Details

    • getArena

      @Nullable public @Nullable Arena getArena()
      Returns the local Arena that is involved in this event.

      May be null if the arena isn't local.

      Specified by:
      getArena in interface ArenaEvent
      Returns:
      The arena that is involved. May be null
    • getRemoteArena

      public RemoteArena getRemoteArena()
      Returns the arena that is involved in this event.
      Returns:
      The involved arena
    • getHandlers

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

      public static HandlerList getHandlerList()