mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2024-11-17 07:35:38 +01:00
Merge pull request #22 from RoboMWM/patch-1
have command listener listen at a higher priority
This commit is contained in:
commit
10ba5ecf2c
@ -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