forked from Upstream/mmocore
Added "profession-xp" placeholder
This commit is contained in:
parent
2371b1529c
commit
9a1070eb37
@ -89,6 +89,7 @@ public class PlayerStats extends EditableInventory {
|
||||
// holders.register("profession", type.getName());
|
||||
holders.register("progress", bar);
|
||||
holders.register("level", "" + inv.getPlayerData().getCollectionSkills().getLevel(profession));
|
||||
holders.register("xp", inv.getPlayerData().getCollectionSkills().getExperience(profession));
|
||||
holders.register("percent", decimal.format(ratio * 100));
|
||||
for (StatType stat : StatType.values())
|
||||
if (stat.matches(profession))
|
||||
|
Loading…
Reference in New Issue
Block a user