Added attr_pts placeholder to the reallocation gui item

This commit is contained in:
Indyuce 2020-04-05 19:34:37 +02:00
parent d6a1e12ea0
commit 67ce4130ed

View File

@ -32,6 +32,7 @@ public class AttributeView extends EditableInventory {
@Override
public Placeholders getPlaceholders(PluginInventory inv, int n) {
Placeholders holders = new Placeholders();
holders.register("attribute_points", inv.getPlayerData().getAttributePoints());
holders.register("points", inv.getPlayerData().getAttributeReallocationPoints());
holders.register("total", inv.getPlayerData().getAttributes().countSkillPoints());
return holders;