isCancelled

public 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.

If an inventory open event is cancelled, the inventory screen will not show.

Return

true if this event is cancelled