forked from mtcontrib/biome_lib
Merge pull request #2 from Rogier-5/fix-tree-spawn-level
Fix trees not spawning on top of surface
This commit is contained in:
commit
1dbf5c4b3f
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
Block a user