Skip to content

Commit

Permalink
I should probably compile before committing in the future.
Browse files Browse the repository at this point in the history
  • Loading branch information
t00thpick1 committed Dec 5, 2016
1 parent f3d6c17 commit 789aaec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Expand Up @@ -103,10 +103,6 @@ protected boolean validateKeys() {
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) {
reason.add("Skills.Acrobatics.Dodge_XP_Modifier should be at least 0!");
}
Expand Down
Expand Up @@ -459,7 +459,7 @@ private static void startGainXp(McMMOPlayer mcMMOPlayer, LivingEntity target, Sk
baseXP = mcMMO.getModManager().getEntity(target).getXpMultiplier();
}
else if (target instanceof Animals) {
ntityType type = target.getType();
EntityType type = target.getType();
baseXP = ExperienceConfig.getInstance().getAnimalsXP(type);
}
else if (target instanceof Monster)
Expand Down

0 comments on commit 789aaec

Please sign in to comment.