mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 00:21:07 +01:00
Center the trunk of the azalea tree schematic
The trunk of the azalea tree is off center in the schematic so placing it with random rotation makes predicting where the trunk will end up impossible. This enlarges the schematic to 7x6x7 blocks with the trunk in the center.
This commit is contained in:
parent
d065d84259
commit
b173ef8b40
2 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ function mcl_lush_caves.makeazalea(pos,def,pr)
|
|||
end
|
||||
end
|
||||
end
|
||||
minetest.place_schematic(vector.offset(surface_pos,-2,0,-2),modpath.."/schematics/azalea1.mts","random",nil,nil,"place_center_x place_center_z")
|
||||
minetest.place_schematic(vector.offset(surface_pos,-3,0,-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
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue