1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-18 15:40:25 +02:00

[pipeworks] Update and fix for #426

This commit is contained in:
LeMagnesium
2016-04-06 17:50:08 +02:00
parent f25082ad5f
commit edaa902d3f
9 changed files with 27 additions and 20 deletions

View File

@ -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, "", pos)
minetest.add_item(pos, stack)
stack:set_count(1)
stack:set_wear(0)
inv:set_stack("recipe", idx, stack)