From 7b8a9a6fc86a17e184382b705eaa642d1dca3d6f Mon Sep 17 00:00:00 2001 From: laireia Date: Thu, 30 Nov 2023 10:51:02 +1000 Subject: [PATCH] Fix azalea tree trunk under ground --- mods/ITEMS/mcl_lush_caves/init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_lush_caves/init.lua b/mods/ITEMS/mcl_lush_caves/init.lua index 52ba34258..9c1d4a71e 100644 --- a/mods/ITEMS/mcl_lush_caves/init.lua +++ b/mods/ITEMS/mcl_lush_caves/init.lua @@ -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