fix xp multiplier not getting applied

This commit is contained in:
nossr50
2024-04-01 15:12:24 -07:00
parent a047bca94c
commit e509876658
7 changed files with 13 additions and 7 deletions

View File

@@ -260,7 +260,7 @@ public class ExperienceConfig extends BukkitConfig {
/* Skill modifiers */
public double getFormulaSkillModifier(PrimarySkillType skill) {
return config.getDouble("Experience_Formula.Modifier." + StringUtils.getCapitalized(skill.toString()), 1);
return config.getDouble("Experience_Formula.Skill_Multiplier." + StringUtils.getCapitalized(skill.toString()), 1);
}
/* Custom XP perk */