Class WarpCategoryUpdateEvent

All Implemented Interfaces:
Cancellable

public class WarpCategoryUpdateEvent extends WarpUpdateEvent<List<WCategory>>
Event that is triggered before a warps' category has been updated.
  • Constructor Details

    • WarpCategoryUpdateEvent

      public WarpCategoryUpdateEvent(List<WCategory> newCategory, Warp playerWarp)
      This event is triggered before a warps' category has been updated.
      Parameters:
      newCategory - The new category instance that will be updated.
      playerWarp - The warp instance that will be updated.
  • Method Details

    • getHandlerList

      public static HandlerList getHandlerList()
    • getHandlers

      @Nonnull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getPlayerWarp

      public Warp getPlayerWarp()
      Returns:
      The warp instance that will be updated.