mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 03:34:43 +02:00
Don't include child skills in these loops. Fixes #577
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user