diff --git a/src/main/java/com/gmail/nossr50/listeners/EntityListener.java b/src/main/java/com/gmail/nossr50/listeners/EntityListener.java index d313d8a18..55dbbda79 100644 --- a/src/main/java/com/gmail/nossr50/listeners/EntityListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/EntityListener.java @@ -351,7 +351,7 @@ public class EntityListener implements Listener { tamingManager.awardTamingXP(event); } - @EventHandler (ignoreCancelled = true) + @EventHandler (priority = EventPriority.HIGHEST, ignoreCancelled = true) public void onEntityTarget(EntityTargetEvent event) { if (event.getEntity() instanceof Tameable && event.getTarget() instanceof Player) { Player player = (Player) event.getTarget();