forked from minetest-mods/technic
Temporary fix for crash in constructor.
This commit is contained in:
parent
67d5a88d05
commit
186f9b70ac
|
@ -21,7 +21,7 @@ local function deploy_node(inv, slot_name, pos, node, machine_node)
|
||||||
end
|
end
|
||||||
if remove_to then
|
if remove_to then
|
||||||
for i = 1, remove_to do
|
for i = 1, remove_to do
|
||||||
inv:remove_item(drops[i])
|
inv:remove_item(slot_name, drops[i])
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
minetest.remove_node(pos)
|
minetest.remove_node(pos)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user