Removed debugging message.

This commit is contained in:
Ka0rX 2023-04-20 20:45:34 +01:00
parent ebed0d3983
commit 4d8df79dc2
3 changed files with 0 additions and 3 deletions

View File

@ -45,7 +45,6 @@ public class SkillTreeViewer extends EditableInventory {
for (PathStatus status : PathStatus.values()) for (PathStatus status : PathStatus.values())
for (PathType pathType :PathType.values()){ for (PathType pathType :PathType.values()){
if(!config.contains("display.paths." + MMOCoreUtils.ymlName(status.name()) + "." + MMOCoreUtils.ymlName(pathType.name()))){ if(!config.contains("display.paths." + MMOCoreUtils.ymlName(status.name()) + "." + MMOCoreUtils.ymlName(pathType.name()))){
MMOCore.log("display.paths." + MMOCoreUtils.ymlName(status.name()) + "." + MMOCoreUtils.ymlName(pathType.name()));
MMOCore.log("Missing path type: " + MMOCoreUtils.ymlName(pathType.name()) + " for status: " + MMOCoreUtils.ymlName(status.name())); MMOCore.log("Missing path type: " + MMOCoreUtils.ymlName(pathType.name()) + " for status: " + MMOCoreUtils.ymlName(status.name()));
continue; continue;
} }

View File

@ -66,7 +66,6 @@ public class BoundSkillInfo implements Closable {
// Unregister skill if passive // Unregister skill if passive
if (isPassive()) { if (isPassive()) {
Bukkit.broadcastMessage("Unregistered passive skill " + classSkill.getSkill().getHandler().getId());
registered.unregister(playerData.getMMOPlayerData()); registered.unregister(playerData.getMMOPlayerData());
} }

View File

@ -83,7 +83,6 @@ public abstract class SkillTree extends PostLoadObject implements RegisteredObje
} }
for (String from : config.getConfigurationSection("nodes").getKeys(false)) { for (String from : config.getConfigurationSection("nodes").getKeys(false)) {
ConfigurationSection section = config.getConfigurationSection("nodes." + from); ConfigurationSection section = config.getConfigurationSection("nodes." + from);
MMOCore.log("skilltree:" + id + " " + (section.contains("paths")));
if (section.contains("paths")) { if (section.contains("paths")) {
for (String to : section.getConfigurationSection("paths").getKeys(false)) { for (String to : section.getConfigurationSection("paths").getKeys(false)) {
SkillTreeNode node1 = nodes.get(to); SkillTreeNode node1 = nodes.get(to);