Class ConfirmationCancelEvent

java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.confirmations.event.ConfirmationEvent
com.palmergames.bukkit.towny.confirmations.event.ConfirmationCancelEvent

public class ConfirmationCancelEvent extends ConfirmationEvent
Called after a Confirmation is successfully cancelled, either due to timing out or due to the sender cancelling it manually.
  • Constructor Details

    • ConfirmationCancelEvent

      public ConfirmationCancelEvent(Confirmation confirmation, org.bukkit.command.CommandSender sender, boolean timeout)
  • Method Details

    • isTimeout

      public boolean isTimeout()
      Returns:
      Whether this confirmation was cancelled due to timing out.
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      @NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()