How to make Cancellable Event in Extension?

Discussion in 'CommandHelper' started by Ret, Oct 8, 2018.

  1. Ret

    Ret New Member

    I am working on a CommandHelperExtension.
    My goal is to add many events that exist in the Spigot API,
    In the Spigot API, if you add events that implement Cancellable, you can not use function cancel () because CommandHelper does not handle Cancellable. what should I do?
    -(Google Translater)
  2. PseudoKnight

    PseudoKnight Well-Known Member Developer

    I'm not sure what you're asking, because AbstractEvent can use cancel() if the underlying event is Cancellable.