mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Fix FallbackRegistrationListener
This commit is contained in:
parent
5c64cf2f56
commit
01e082a1a4
@ -34,7 +34,7 @@ public class FallbackRegistrationListener implements Listener {
|
||||
|
||||
@EventHandler(ignoreCancelled = true)
|
||||
public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event) {
|
||||
if (commandRegistration.dispatch(event.getPlayer(), event.getMessage())) {
|
||||
if (commandRegistration.dispatch(event.getPlayer(), event.getMessage().substring(1))) {
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user