Fix fallen log generation by offsetting y+1 ()

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4992
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: Mikita Wiśniewski <rudzik8@protonmail.com>
Co-committed-by: Mikita Wiśniewski <rudzik8@protonmail.com>
This commit is contained in:
Mikita Wiśniewski 2025-03-08 04:37:21 +01:00 committed by the-real-herowl
parent 871c9ee727
commit 97be30f1e6

View file

@ -159,7 +159,7 @@ mcl_structures.register_structure("fallen_tree",{
place_func = function(pos,def,pr)
local schem=get_fallen_tree_schematic(pos,pr)
if not schem then return end
return minetest.place_schematic(pos,schem,"random")
return minetest.place_schematic(vector.offset(pos, 0, 1, 0), schem, "random")
end
})