1
0
Fork 0

Fix azalea tree trunk under ground

This commit is contained in:
laireia 2023-11-30 10:51:02 +10:00 committed by the-real-herowl
parent 984b394865
commit 7b8a9a6fc8
1 changed files with 2 additions and 1 deletions

View File

@ -122,7 +122,8 @@ function mcl_lush_caves.makeazalea(pos,def,pr)
end
end
end
minetest.place_schematic(vector.offset(surface_pos,-3,0,-3),modpath.."/schematics/azalea1.mts","random",nil,nil,"place_center_x place_center_z")
minetest.set_node(surface_pos,{name="mcl_lush_caves:rooted_dirt"})
minetest.place_schematic(vector.offset(surface_pos,-3,1,-3),modpath.."/schematics/azalea1.mts","random",nil,nil,"place_center_x place_center_z")
minetest.log("action","[mcl_lush_caves] Azalea generated at "..minetest.pos_to_string(surface_pos))
return true
end