mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2024-11-17 07:35:38 +01:00
have command listener listen at a higher priority
This commit is contained in:
parent
83d4e4d68e
commit
507179bae9
@ -45,7 +45,7 @@ public class GamePlayerCommandPreprocessingListener implements Listener {
|
||||
*
|
||||
* @param event
|
||||
*/
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
@EventHandler(priority = EventPriority.HIGH)
|
||||
public void onPlayerCommandPreprocessEvent(PlayerCommandPreprocessEvent event) {
|
||||
if (event.isCancelled()) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user