Event Listeners
Last updated
Was this helpful?
Last updated
Was this helpful?
Event listeners can be annotated with a annotation. This will make sure the event listener will be registered with Bukkit. This takes away the need to manage this yourself.
Notice the listener also is a . This means you can also inject any other dependency you want into this listener using the constructor