mirror of
https://github.com/LordBoos/boosCooldowns.git
synced 2024-11-23 11:05:44 +01:00
PLAYER_COMMAND_PREPROCESS Event.Priority.High
This commit is contained in:
parent
f12b5b4fd9
commit
1d5382eda9
@ -144,7 +144,7 @@ public class boosCoolDown extends JavaPlugin {
|
|||||||
|
|
||||||
private void registerEvents(){
|
private void registerEvents(){
|
||||||
pm.registerEvent(Event.Type.PLAYER_COMMAND_PREPROCESS, playerListener,
|
pm.registerEvent(Event.Type.PLAYER_COMMAND_PREPROCESS, playerListener,
|
||||||
Event.Priority.Lowest, this);
|
Event.Priority.High, this);
|
||||||
if (boosConfigManager.getCancelWarmUpOnDamage()) {
|
if (boosConfigManager.getCancelWarmUpOnDamage()) {
|
||||||
pm.registerEvent(Event.Type.ENTITY_DAMAGE, entityListener,
|
pm.registerEvent(Event.Type.ENTITY_DAMAGE, entityListener,
|
||||||
Event.Priority.Normal, this);
|
Event.Priority.Normal, this);
|
||||||
|
Loading…
Reference in New Issue
Block a user