diff options
Diffstat (limited to 'autocrafter.lua')
-rw-r--r-- | autocrafter.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autocrafter.lua b/autocrafter.lua index 6d00a7c..648a610 100644 --- a/autocrafter.lua +++ b/autocrafter.lua @@ -223,7 +223,7 @@ local function upgrade_autocrafter(pos, meta) if not recipe then return end for idx, stack in ipairs(recipe) do if not stack:is_empty() then - minetest.item_drop(stack, nil, pos) + minetest.add_item(pos, stack) stack:set_count(1) stack:set_wear(0) inv:set_stack("recipe", idx, stack) |