Machine doesn't take item in creative
parent
7bb787233d
commit
dcd5ac8d33
|
@ -184,7 +184,9 @@ on_receive_fields = function(pos, formname, fields, sender)
|
||||||
for i = 0, anzahl-1 do
|
for i = 0, anzahl-1 do
|
||||||
inv:add_item("res", shape)
|
inv:add_item("res", shape)
|
||||||
end
|
end
|
||||||
ingotstack:take_item()
|
if minetest.setting_getbool("creative_mode") ~= true then
|
||||||
|
ingotstack:take_item()
|
||||||
|
end
|
||||||
inv:set_stack("ingot" ,1, ingotstack)
|
inv:set_stack("ingot" ,1, ingotstack)
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 214 KiB After Width: | Height: | Size: 207 KiB |
Loading…
Reference in New Issue