mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-22 05:42:33 +01:00
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