PLAYER_COMMAND_PREPROCESS Event.Priority.High

This commit is contained in:
Boos 2012-01-03 10:27:34 +01:00
parent f12b5b4fd9
commit 1d5382eda9

View File

@ -144,7 +144,7 @@ public class boosCoolDown extends JavaPlugin {
private void registerEvents(){
pm.registerEvent(Event.Type.PLAYER_COMMAND_PREPROCESS, playerListener,
Event.Priority.Lowest, this);
Event.Priority.High, this);
if (boosConfigManager.getCancelWarmUpOnDamage()) {
pm.registerEvent(Event.Type.ENTITY_DAMAGE, entityListener,
Event.Priority.Normal, this);