setArmor

abstract fun setArmor(slot: ArmorSlot, item: ItemStack)

Sets the armour item in the given slot to the give item.

Parameters

slot

the armour slot

item

the new item