mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
Removed / Modified verbose
This commit is contained in:
parent
fbe4314649
commit
9544745cb4
@ -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()
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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()))
|
||||
|
Loading…
Reference in New Issue
Block a user