From 708671747379fbad4bd7c3a4414178c5665e6e2f Mon Sep 17 00:00:00 2001 From: ZephireNZ Date: Sun, 25 Aug 2013 18:43:03 +1200 Subject: [PATCH] Fixes #1396 (Hopefully) --- .../gmail/nossr50/runnables/MobHealthDisplayUpdaterTask.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/runnables/MobHealthDisplayUpdaterTask.java b/src/main/java/com/gmail/nossr50/runnables/MobHealthDisplayUpdaterTask.java index c86c298e2..c89011345 100644 --- a/src/main/java/com/gmail/nossr50/runnables/MobHealthDisplayUpdaterTask.java +++ b/src/main/java/com/gmail/nossr50/runnables/MobHealthDisplayUpdaterTask.java @@ -15,6 +15,8 @@ public class MobHealthDisplayUpdaterTask extends BukkitRunnable { this.target = target; this.oldName = target.getMetadata(mcMMO.customNameKey).get(0).asString(); this.oldNameVisible = target.getMetadata(mcMMO.customVisibleKey).get(0).asBoolean(); + }else{ + this.cancel(); } }