diff options
author | Auke Kok <sofar@foo-projects.org> | 2016-04-01 22:18:44 -0700 |
---|---|---|
committer | Auke Kok <sofar@foo-projects.org> | 2016-04-01 22:20:07 -0700 |
commit | b1b9a7e9945fe642f21f756092c6bd664ae3d012 (patch) | |
tree | d580e07ce770e1993b64588749f2bf0ce33eba8a /sorting_tubes.lua | |
parent | e30364b2dd8e7f5221271cb4d2f34aadf92c73b1 (diff) |
Don't use item_drop(, nil,)
Diffstat (limited to 'sorting_tubes.lua')
-rw-r--r-- | sorting_tubes.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sorting_tubes.lua b/sorting_tubes.lua index 795291b..6d432ae 100644 --- a/sorting_tubes.lua +++ b/sorting_tubes.lua @@ -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 |