Auto equip armor from kit
xMrPoi opened this issue ยท 18 comments
There should be an option to automatically equip armor from a kit. It could there could be a separate helmet, chestplate, pants, and boots node to put in an item.
It could look something like this: http://i.imgur.com/S1aVGzG.png
I think just attempt to equip any piece of armor if there is currently nothing in that specific armor slot.
Attenpting to equip any armor in the inventory could work but then you're sacrificing 4 inventory slots which will always be empty.
auto-equip-armour: true/false.
Don't see it being an issue @xMrPoi
Adding on to the item deserialization specifications, maybe we could have an auto-equip
property that automatically equips that item.
@xMrPoi's example is probably the best one
I would rather just attempt to equip pieces of armor if the player's armor slots are empty.
No. Feel free to write the code and make a pull request if you would like to add it.
has anyone made a plugin that does this already? i have one but it only works when you run the command in chat