Machine doesn't take item in creative
This commit is contained in:
parent
7bb787233d
commit
dcd5ac8d33
@ -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
|
||||
})
|
||||
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 214 KiB After Width: | Height: | Size: 207 KiB |
Loading…
x
Reference in New Issue
Block a user