Fix trees not spawning on top of surface
The bottom-most tree trunk would be missing, because the tree was generated at ground level, instead of above ground level.master
parent
3a3ed250c6
commit
5b3a2e0439
2
init.lua
2
init.lua
|
@ -289,7 +289,7 @@ function biome_lib:populate_surfaces(biome, nodes_or_function_or_model, snodes,
|
||||||
|
|
||||||
if objtype == "table" then
|
if objtype == "table" then
|
||||||
if nodes_or_function_or_model.axiom then
|
if nodes_or_function_or_model.axiom then
|
||||||
biome_lib:generate_tree(pos, nodes_or_function_or_model)
|
biome_lib:generate_tree(p_top, nodes_or_function_or_model)
|
||||||
spawned = true
|
spawned = true
|
||||||
else
|
else
|
||||||
local fdir = nil
|
local fdir = nil
|
||||||
|
|
Loading…
Reference in New Issue