Temporary fix for crash in constructor.

This commit is contained in:
Diego Martínez 2017-03-06 23:02:39 -03:00
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)