InteractionVisualizer
InteractionVisualizer copied to clipboard
Use ignoreCancelled instead of checking it manually
This moves all event.isCancelled()
checks to ignoreCancelled = true
values on the @EventHandler
annotation. This not only makes the code cleaner but also slightly improves performance of all those listeners as this can now be directly checked by the PluginManager when choosing the Listeners to forward Events to instead of having to first call the listener method handle.