Fix priority for dupe fix

This commit is contained in:
Shaun Bennett 2015-09-28 20:44:57 -04:00
parent 8a9cc9ff14
commit 437e62c7db
1 changed files with 2 additions and 2 deletions

View File

@ -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()))