mirror of
https://github.com/mt-mods/biome_lib.git
synced 2024-11-13 22:20:21 +01:00
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 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
|
||||
else
|
||||
local fdir = nil
|
||||
|
|
Loading…
Reference in New Issue
Block a user