mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-03 19:56:40 +00:00
Updated for slightly cleaner event handler syntax
This commit is contained in:
@ -34,7 +34,7 @@ public class FallbackRegistrationListener implements Listener {
|
||||
this.commandRegistration = commandRegistration;
|
||||
}
|
||||
|
||||
@EventHandler(event = PlayerCommandPreprocessEvent.class)
|
||||
@EventHandler
|
||||
public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event) {
|
||||
if (event.isCancelled()) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user