diff --git a/common/src/main/kotlin/com/artillexstudios/axminions/minions/Minion.kt b/common/src/main/kotlin/com/artillexstudios/axminions/minions/Minion.kt index 4c4a520..d8e9552 100644 --- a/common/src/main/kotlin/com/artillexstudios/axminions/minions/Minion.kt +++ b/common/src/main/kotlin/com/artillexstudios/axminions/minions/Minion.kt @@ -439,7 +439,7 @@ class Minion( dirty = true if (this.tool?.type == Material.AIR) { - entity.setItem(EquipmentSlot.MAIN_HAND, WrappedItemStack.wrap(ItemStack(Material.AIR))) + entity.setItem(EquipmentSlot.MAIN_HAND, null) } else { entity.setItem(EquipmentSlot.MAIN_HAND, WrappedItemStack.wrap(tool.clone())) } @@ -602,7 +602,7 @@ class Minion( override fun updateArmour() { for (entry in EquipmentSlot.entries) { - entity.setItem(entry, WrappedItemStack.wrap(ItemStack(Material.AIR))) + entity.setItem(entry, null) } setTool(this.tool ?: ItemStack(Material.AIR), false)