More work on new super abilities

This commit is contained in:
nossr50
2020-07-31 19:41:28 -07:00
parent ea2e2bdc9a
commit 916a747f88
7 changed files with 213 additions and 137 deletions

View File

@ -563,7 +563,7 @@ public class Config extends AutoUpdateConfigLoader {
}
public int getLevelCap(PrimarySkillType skill) {
int cap = config.getInt("Skills." + StringUtils.getCapitalized(skill.toString()) + ".Level_Cap");
int cap = config.getInt("Skills." + StringUtils.getCapitalized(skill.toString()) + ".Level_Cap", 0);
return (cap <= 0) ? Integer.MAX_VALUE : cap;
}