mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2025-01-06 07:07:38 +01:00
Bug Fixing for Skill Tree
This commit is contained in:
parent
8e504e1a10
commit
a64faa02fd
@ -19,6 +19,7 @@ public class CustomSkillTree extends SkillTree {
|
||||
|
||||
// Setup the children and parents for each node.
|
||||
for (SkillTreeNode node : nodes.values()) {
|
||||
if (config.isConfigurationSection("nodes." + node.getId() + ".children"))
|
||||
for (String key : config.getConfigurationSection("nodes." + node.getId() + "parents").getKeys(false)) {
|
||||
ConfigurationSection section = config.getConfigurationSection("nodes." + node.getId() + ".parents." + key);
|
||||
if (section != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user