Updated for slightly cleaner event handler syntax

This commit is contained in:
zml2008
2012-01-19 15:21:18 -08:00
parent 6d8be92e45
commit 6134d2b868
4 changed files with 12 additions and 9 deletions

View File

@ -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;