Class MiniGamePlayerViewEvent

java.lang.Object
org.bukkit.event.Event
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class MiniGamePlayerViewEvent extends MiniGamePlayerEvent implements org.bukkit.event.Cancellable
Called when a player try to view a minigame
  • Constructor Details

    • MiniGamePlayerViewEvent

      public MiniGamePlayerViewEvent(MiniGame minigame, org.bukkit.entity.Player player)
  • Method Details

    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable