Interface Cancellable

    • Method Detail

      • isCancelled

        boolean isCancelled()
        Gets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins
        Returns:
        true if this event is cancelled
      • setCancelled

        void setCancelled​(boolean cancel)
        Sets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins.
        Parameters:
        cancel - true if you wish to cancel this event