Fix priority for dupe fix
This commit is contained in:
parent
8a9cc9ff14
commit
437e62c7db
|
@ -14,8 +14,8 @@ public class FoodDupeFix extends MiniPlugin
|
|||
super("Food Dupe Fix", plugin);
|
||||
}
|
||||
|
||||
// Use Highest priority so event.getItem isn't changed
|
||||
@EventHandler(priority = EventPriority.HIGHEST)
|
||||
// Use Lowest priority so we get called first event.getItem isn't changed
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
public void fixFoodDupe(PlayerItemConsumeEvent event)
|
||||
{
|
||||
if (UtilItem.isFood(event.getItem()))
|
||||
|
|
Loading…
Reference in New Issue