From 10cfc48c9af2aedfb2fe57cad460bb7b2a0fd96c Mon Sep 17 00:00:00 2001 From: Ka0rX Date: Sun, 19 Mar 2023 20:21:47 +0100 Subject: [PATCH] Removed debug messages --- .../java/net/Indyuce/mmocore/api/player/PlayerData.java | 7 +------ .../src/main/java/net/Indyuce/mmocore/gui/SkillList.java | 1 - 2 files changed, 1 insertion(+), 7 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 886702f5..e56b922d 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 @@ -1069,11 +1069,7 @@ public class PlayerData extends OfflinePlayerData implements Closable, Experienc .stream() .filter(skillInfo->skillInfo.getClassSkill().getSkill().getHandler().getId().equals(skill)) .forEach(BoundSkillInfo::refresh); - //TODO Remove test: - Bukkit.broadcastMessage("match"+boundSkills.values() - .stream() - .filter(skillInfo->skillInfo.getClassSkill().getSkill().getHandler().getId().equals(skill)).toList().size()); - } + } @Deprecated public boolean hasSkillUnlocked(RegisteredSkill skill) { @@ -1140,7 +1136,6 @@ public class PlayerData extends OfflinePlayerData implements Closable, Experienc } public boolean hasSkillBound(int slot) { - Bukkit.broadcastMessage("slot:"+slot+" "+boundSkills.containsKey(slot)); return boundSkills.containsKey(slot); } diff --git a/MMOCore-API/src/main/java/net/Indyuce/mmocore/gui/SkillList.java b/MMOCore-API/src/main/java/net/Indyuce/mmocore/gui/SkillList.java index b0b4b5be..99b6e1ba 100644 --- a/MMOCore-API/src/main/java/net/Indyuce/mmocore/gui/SkillList.java +++ b/MMOCore-API/src/main/java/net/Indyuce/mmocore/gui/SkillList.java @@ -428,7 +428,6 @@ public class SkillList extends EditableInventory { player.playSound(player.getLocation(), Sound.ENTITY_EXPERIENCE_ORB_PICKUP, 1, 2); playerData.bindSkill(index, selected); - Bukkit.broadcastMessage("SKILL BOUND: "+index); open(); return; }