You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basicly if setCancelled is called checking if the event is cancelled is a valid thing to do.
Example:
@Listener
public void onChangeBlock(ChangeBlockEvent event)
{
if (something)
{
event.setCancelled(true);
}
// Now event.isCancelled() is no longer useless
}