mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-04-22 23:25:15 +02:00
Fix fallen log generation by offsetting y+1 (#4992)
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:
parent
871c9ee727
commit
97be30f1e6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue