Class PlayerOpenCosmeticShopEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
de.marcely.bedwars.api.cosmetics.event.PlayerOpenCosmeticShopEvent
All Implemented Interfaces:
Cancellable

public class PlayerOpenCosmeticShopEvent extends PlayerEvent implements Cancellable
Gets called when a player attempts to open a cosmetic shop.
  • Constructor Details

    • PlayerOpenCosmeticShopEvent

      public PlayerOpenCosmeticShopEvent(Player player, Shop shop)
  • Method Details

    • getShop

      public Shop getShop()
      Gets the shop the player is trying to open.
      Returns:
      The shop the player is trying to open.
    • getHandlers

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

      public static HandlerList getHandlerList()