forked from Upstream/mmocore
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())
|
if (isOnline())
|
||||||
getStats().updateStats();
|
getStats().updateStats();
|
||||||
|
|
||||||
Bukkit.broadcastMessage("IN");
|
|
||||||
//Loads the classUnlockedSkills
|
//Loads the classUnlockedSkills
|
||||||
profess.getSkills()
|
profess.getSkills()
|
||||||
.stream()
|
.stream()
|
||||||
|
@ -112,7 +112,7 @@ public class SkillCommandTreeNode extends CommandTreeNode {
|
|||||||
playerData.getMMOPlayerData().lock(skill.getSkill());
|
playerData.getMMOPlayerData().lock(skill.getSkill());
|
||||||
else
|
else
|
||||||
playerData.getMMOPlayerData().unlock(skill.getSkill());
|
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;
|
return CommandResult.SUCCESS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -322,8 +322,6 @@ public class SkillList extends EditableInventory {
|
|||||||
|
|
||||||
public SkillViewerInventory(PlayerData playerData, EditableInventory editable) {
|
public SkillViewerInventory(PlayerData playerData, EditableInventory editable) {
|
||||||
super(playerData, editable);
|
super(playerData, editable);
|
||||||
Bukkit.broadcastMessage("UNLOCKED");
|
|
||||||
playerData.getMMOPlayerData().getUnlockedItems().forEach(str->Bukkit.broadcastMessage(str));
|
|
||||||
skills = playerData.getProfess().getSkills()
|
skills = playerData.getProfess().getSkills()
|
||||||
.stream()
|
.stream()
|
||||||
.filter((classSkill)->playerData.getMMOPlayerData().hasUnlocked(classSkill.getSkill()))
|
.filter((classSkill)->playerData.getMMOPlayerData().hasUnlocked(classSkill.getSkill()))
|
||||||
|
Loading…
Reference in New Issue
Block a user