From f4d6f21b0fe362873b30c944c499e863b0470679 Mon Sep 17 00:00:00 2001 From: Ka0rX Date: Sun, 2 Oct 2022 22:30:31 +0200 Subject: [PATCH] Remove Debug Msg --- .../main/java/net/Indyuce/mmocore/api/player/PlayerData.java | 3 --- .../net/Indyuce/mmocore/api/quest/trigger/StatTrigger.java | 1 - 2 files changed, 4 deletions(-) diff --git a/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/player/PlayerData.java b/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/player/PlayerData.java index b9a7246b..3a243b39 100644 --- a/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/player/PlayerData.java +++ b/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/player/PlayerData.java @@ -266,9 +266,6 @@ public class PlayerData extends OfflinePlayerData implements Closable, Experienc if (skillTree.isNode(coordinates)) { SkillTreeNode node = skillTree.getNode(coordinates); - if (nodeStates.get(node) == null) { - skillTree.getNodes().forEach(nodee -> Bukkit.broadcastMessage(nodee.getFullId() + " " + nodeStates.get(nodee))); - } DisplayInfo displayInfo = new DisplayInfo(nodeStates.get(node), node.getSize()); return skillTree.getIcon(displayInfo); } diff --git a/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/quest/trigger/StatTrigger.java b/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/quest/trigger/StatTrigger.java index 05693280..421c75b6 100644 --- a/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/quest/trigger/StatTrigger.java +++ b/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/quest/trigger/StatTrigger.java @@ -45,7 +45,6 @@ public class StatTrigger extends Trigger { * Not a problem to store twice the stat modifiers are there only remain in the RAM. */ public void remove(PlayerData playerData) { - Bukkit.broadcastMessage(totalAmount+""); totalAmount-=amount; new StatModifier("trigger", stat, totalAmount, type).register(playerData.getMMOPlayerData()); }