forked from Upstream/mmocore
Fixed issue #821 about skill tree nodes not loading properly.
This commit is contained in:
parent
fe0996b01b
commit
13440600a8
@ -71,7 +71,7 @@ public class SkillTreeNode implements ExperienceObject {
|
|||||||
MMOCore.log("Could not find node display for status " + ymlStatus + " for node " + id + " in tree " + tree.getId() + ". Using default display.");
|
MMOCore.log("Could not find node display for status " + ymlStatus + " for node " + id + " in tree " + tree.getId() + ". Using default display.");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
icons.put(status, new Icon(config.getConfigurationSection("display." + status.name().toLowerCase())));
|
icons.put(status, new Icon(config.getConfigurationSection("display." +MMOCoreUtils.ymlName(status.name()))));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
name = Objects.requireNonNull(config.getString("name"), "Could not find node name");
|
name = Objects.requireNonNull(config.getString("name"), "Could not find node name");
|
||||||
|
Loading…
Reference in New Issue
Block a user