From d857bf483e33bcb57dddeaf7c61b7d9a835e3d74 Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Thu, 7 Aug 2014 11:23:02 -0400 Subject: [PATCH] Fix #2184 --- src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java b/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java index e0ef55de2..dfe6222b7 100644 --- a/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java +++ b/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java @@ -719,6 +719,10 @@ public final class CombatUtils { return; } + if (!player.hasMetadata(mcMMO.playerDataKey)) { + return; + } + MobHealthbarUtils.handleMobHealthbars(player, target, damage); } }