bugfix with armor in creative
parent
0945a52c82
commit
4b175f5cd9
|
@ -258,7 +258,7 @@ local function move_item_to_inv(state, item)
|
|||
local itemstack = armor_inv:get_stack("armor", item.stack_index)
|
||||
if creative == true then
|
||||
-- trash armor item in creative
|
||||
itemstack = ItemStack()
|
||||
itemstack = ItemStack("")
|
||||
else
|
||||
itemstack = inventory:add_item("main", itemstack)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue