forked from Upstream/mmocore
Added attr_pts placeholder to the reallocation gui item
This commit is contained in:
parent
d6a1e12ea0
commit
67ce4130ed
@ -32,6 +32,7 @@ public class AttributeView extends EditableInventory {
|
|||||||
@Override
|
@Override
|
||||||
public Placeholders getPlaceholders(PluginInventory inv, int n) {
|
public Placeholders getPlaceholders(PluginInventory inv, int n) {
|
||||||
Placeholders holders = new Placeholders();
|
Placeholders holders = new Placeholders();
|
||||||
|
holders.register("attribute_points", inv.getPlayerData().getAttributePoints());
|
||||||
holders.register("points", inv.getPlayerData().getAttributeReallocationPoints());
|
holders.register("points", inv.getPlayerData().getAttributeReallocationPoints());
|
||||||
holders.register("total", inv.getPlayerData().getAttributes().countSkillPoints());
|
holders.register("total", inv.getPlayerData().getAttributes().countSkillPoints());
|
||||||
return holders;
|
return holders;
|
||||||
|
Loading…
Reference in New Issue
Block a user