From 1ae9b0f4d294c599406f3b649254a46d6f170eec Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Sun, 26 May 2013 17:55:24 +0200 Subject: [PATCH] Animals can also have the "Spawned Entity" tag --- .../java/com/gmail/nossr50/util/skills/CombatUtils.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 4312175b8..e4c8a98cd 100644 --- a/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java +++ b/src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java @@ -505,10 +505,10 @@ public final class CombatUtils { } break; } + } - if (target.hasMetadata(mcMMO.entityMetadataKey)) { - baseXP *= Config.getInstance().getSpawnedMobXpMultiplier(); - } + if (target.hasMetadata(mcMMO.entityMetadataKey)) { + baseXP *= Config.getInstance().getSpawnedMobXpMultiplier(); } baseXP *= 10;