Added "profession-xp" placeholder

This commit is contained in:
Aria 2019-09-21 01:00:41 +02:00
parent 2371b1529c
commit 9a1070eb37

View File

@ -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))