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);
|
super("Food Dupe Fix", plugin);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use Highest priority so event.getItem isn't changed
|
// Use Lowest priority so we get called first event.getItem isn't changed
|
||||||
@EventHandler(priority = EventPriority.HIGHEST)
|
@EventHandler(priority = EventPriority.LOWEST)
|
||||||
public void fixFoodDupe(PlayerItemConsumeEvent event)
|
public void fixFoodDupe(PlayerItemConsumeEvent event)
|
||||||
{
|
{
|
||||||
if (UtilItem.isFood(event.getItem()))
|
if (UtilItem.isFood(event.getItem()))
|
||||||
|
Loading…
Reference in New Issue
Block a user