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; }