mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	Refactor to a more descriptive name,
also fixes a small typo.
This commit is contained in:
		@@ -297,5 +297,5 @@ public class Config extends AutoUpdateConfigLoader {
 | 
			
		||||
 | 
			
		||||
    /* XP Formula Multiplier */
 | 
			
		||||
    public int getFormulaMultiplierCurve() { return config.getInt("Experience.Formula.Curve_Modifier", 20); }
 | 
			
		||||
    public double getForumulaMultiplier(SkillType skill) { return config.getDouble("Experience.Formula.Modifier." + StringUtils.getCapitalized(skill.toString())); }
 | 
			
		||||
    public double getFormulaSkillModifier(SkillType skill) { return config.getDouble("Experience.Formula.Modifier." + StringUtils.getCapitalized(skill.toString())); }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -108,7 +108,7 @@ public enum SkillType {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public double getXpModifier() {
 | 
			
		||||
        return Config.getInstance().getForumulaMultiplier(this);
 | 
			
		||||
        return Config.getInstance().getFormulaSkillModifier(this);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public static SkillType getSkill(String skillName) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user