Machine doesn't take item in creative

master
DonBatman 2016-04-11 06:53:19 -07:00
parent 7bb787233d
commit dcd5ac8d33
2 changed files with 3 additions and 1 deletions

View File

@ -184,7 +184,9 @@ on_receive_fields = function(pos, formname, fields, sender)
for i = 0, anzahl-1 do
inv:add_item("res", shape)
end
ingotstack:take_item()
if minetest.setting_getbool("creative_mode") ~= true then
ingotstack:take_item()
end
inv:set_stack("ingot" ,1, ingotstack)
end
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 KiB

After

Width:  |  Height:  |  Size: 207 KiB