Removed / Modified verbose

This commit is contained in:
Ka0rX 2023-03-28 14:30:21 +01:00
parent fbe4314649
commit 9544745cb4
3 changed files with 1 additions and 4 deletions

View File

@ -1129,7 +1129,6 @@ public class PlayerData extends OfflinePlayerData implements Closable, Experienc
if (isOnline())
getStats().updateStats();
Bukkit.broadcastMessage("IN");
//Loads the classUnlockedSkills
profess.getSkills()
.stream()

View File

@ -112,7 +112,7 @@ public class SkillCommandTreeNode extends CommandTreeNode {
playerData.getMMOPlayerData().lock(skill.getSkill());
else
playerData.getMMOPlayerData().unlock(skill.getSkill());
CommandVerbose.verbose(sender, CommandVerbose.CommandType.SKILL, "The skill " + skill.getSkill() + " is now " + (lock ? "locked" : "unlocked" + " for " + player.getName()));
CommandVerbose.verbose(sender, CommandVerbose.CommandType.SKILL, ChatColor.GOLD+"The skill " + skill.getSkill().getName() + " is now " + (lock ? "locked" : "unlocked" + " for " + player.getName()));
return CommandResult.SUCCESS;
}
}

View File

@ -322,8 +322,6 @@ public class SkillList extends EditableInventory {
public SkillViewerInventory(PlayerData playerData, EditableInventory editable) {
super(playerData, editable);
Bukkit.broadcastMessage("UNLOCKED");
playerData.getMMOPlayerData().getUnlockedItems().forEach(str->Bukkit.broadcastMessage(str));
skills = playerData.getProfess().getSkills()
.stream()
.filter((classSkill)->playerData.getMMOPlayerData().hasUnlocked(classSkill.getSkill()))