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
|
||||
if remove_to then
|
||||
for i = 1, remove_to do
|
||||
inv:remove_item(drops[i])
|
||||
inv:remove_item(slot_name, drops[i])
|
||||
end
|
||||
else
|
||||
minetest.remove_node(pos)
|
||||
|
Loading…
Reference in New Issue
Block a user