mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2025-02-09 08:01: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
|
* @param event
|
||||||
*/
|
*/
|
||||||
@EventHandler(priority = EventPriority.LOWEST)
|
@EventHandler(priority = EventPriority.HIGH)
|
||||||
public void onPlayerCommandPreprocessEvent(PlayerCommandPreprocessEvent event) {
|
public void onPlayerCommandPreprocessEvent(PlayerCommandPreprocessEvent event) {
|
||||||
if (event.isCancelled()) {
|
if (event.isCancelled()) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user