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(); } }