Don't include child skills in these loops. Fixes #577

This commit is contained in:
GJ
2013-01-24 09:08:30 -05:00
parent bba23de31c
commit b7bb3f4487
6 changed files with 26 additions and 7 deletions

View File

@ -256,7 +256,7 @@ public class Skills {
public static void xpCheckAll(Player player, PlayerProfile profile) {
for (SkillType skillType : SkillType.values()) {
//Don't want to do anything with this one
if (skillType == SkillType.ALL) {
if (skillType == SkillType.ALL || skillType.isChildSkill()) {
continue;
}