mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Don't include child skills in these loops. Fixes #577
This commit is contained in:
@ -136,7 +136,7 @@ public class SpoutStuff {
|
||||
|
||||
//Standard XP Icons
|
||||
for (SkillType y : SkillType.values()) {
|
||||
if (y.equals(SkillType.ALL)) {
|
||||
if (y.equals(SkillType.ALL) || y.isChildSkill()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -197,7 +197,7 @@ public class SpoutStuff {
|
||||
|
||||
/* Standard XP Icons */
|
||||
for (SkillType y : SkillType.values()) {
|
||||
if (y.equals(SkillType.ALL)) {
|
||||
if (y.equals(SkillType.ALL) || y.isChildSkill()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user