From 0d62688343700417af4a25b24cb780fc5e3dd954 Mon Sep 17 00:00:00 2001 From: GJ Date: Mon, 18 Feb 2013 10:07:54 -0500 Subject: [PATCH] If we cancel, should be on Highest priority. --- src/main/java/com/gmail/nossr50/listeners/EntityListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();