Explorar o código

Animals can also have the "Spawned Entity" tag

TfT_02 %!s(int64=12) %!d(string=hai) anos
pai
achega
1ae9b0f4d2

+ 3 - 3
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;