bugfix with armor in creative

master
Alexander Weber 2018-04-15 01:31:53 +02:00
parent 0945a52c82
commit 4b175f5cd9
1 changed files with 1 additions and 1 deletions

View File

@ -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