Removed debug messages

This commit is contained in:
Ka0rX 2023-03-19 20:21:47 +01:00
parent 1d1d28958f
commit 10cfc48c9a
2 changed files with 1 additions and 7 deletions

View File

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

View File

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