default boolean setCancelled(boolean cancelled) {
        return cancellationState().getAndSet(cancelled);
    }
Sets the cancellation state of the event.

@param cancelled the new state
@return the previous state
api/src/main/java/net/luckperms/api/event/type/Cancellable.java