Don't use item_drop(, nil,)

This commit is contained in:
Auke Kok
2016-04-01 22:18:44 -07:00
parent e30364b2dd
commit b1b9a7e994
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ if pipeworks.enable_mese_tube then
local inv = meta:get_inventory()
for i = 1, 6 do
for _, stack in ipairs(inv:get_list("line"..i)) do
minetest.item_drop(stack, nil, pos)
minetest.add_item(pos, stack)
end
end
end