diff --git a/mods/default/furnace.lua b/mods/default/furnace.lua index 1616af8f..5abc7219 100644 --- a/mods/default/furnace.lua +++ b/mods/default/furnace.lua @@ -117,7 +117,7 @@ end local function add_item(inv, pos, item) local leftover = inv:add_item("dst", item) if not leftover:is_empty() then - local above = vector.new(pos.x, pos.y + 1, pos.z) + local above = vector.offset(pos, 0, 1, 0) local drop_pos = minetest.find_node_near(pos, 1, {"air"}) or above minetest.item_drop(item, nil, drop_pos) end