I should probably compile before committing in the future.

This commit is contained in:
t00thpick1 2016-12-04 21:42:26 -05:00
parent f3d6c1727b
commit 789aaec186
2 changed files with 1 additions and 5 deletions

View File

@ -103,10 +103,6 @@ public class ExperienceConfig extends AutoUpdateConfigLoader {
reason.add("Experience.Combat.Multiplier.Animals should be at least 0!"); reason.add("Experience.Combat.Multiplier.Animals should be at least 0!");
} }
if (getWitherSkeletonXP() < 0) {
reason.add("Experience.Combat.Multiplier.Wither_Skeleton should be at least 0!");
}
if (getDodgeXPModifier() < 0) { if (getDodgeXPModifier() < 0) {
reason.add("Skills.Acrobatics.Dodge_XP_Modifier should be at least 0!"); reason.add("Skills.Acrobatics.Dodge_XP_Modifier should be at least 0!");
} }

View File

@ -459,7 +459,7 @@ public final class CombatUtils {
baseXP = mcMMO.getModManager().getEntity(target).getXpMultiplier(); baseXP = mcMMO.getModManager().getEntity(target).getXpMultiplier();
} }
else if (target instanceof Animals) { else if (target instanceof Animals) {
ntityType type = target.getType(); EntityType type = target.getType();
baseXP = ExperienceConfig.getInstance().getAnimalsXP(type); baseXP = ExperienceConfig.getInstance().getAnimalsXP(type);
} }
else if (target instanceof Monster) else if (target instanceof Monster)