mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
Fixed skill tree bug
This commit is contained in:
parent
4dac0b1996
commit
647865bdd3
@ -210,6 +210,8 @@ public class SkillTreeNode implements Unlockable, ExperienceObject {
|
||||
public List<String> getLore(PlayerData playerData) {
|
||||
Placeholders holders = getPlaceholders(playerData);
|
||||
List<String> parsedLore = new ArrayList<>();
|
||||
if(!lores.containsKey(playerData.getNodeLevel(this)))
|
||||
return parsedLore;
|
||||
List<String> lore= lores.get(playerData.getNodeLevel(this));
|
||||
lore.forEach(string -> parsedLore.add(
|
||||
MythicLib.plugin.parseColors(holders.apply(playerData.getPlayer(), string))));
|
||||
|
Loading…
Reference in New Issue
Block a user