mirror of
https://github.com/minetest-mods/technic.git
synced 2024-08-21 14:04:05 +02: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