mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
I should probably compile before committing in the future.
This commit is contained in:
parent
f3d6c1727b
commit
789aaec186
@ -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!");
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user