1
0
mirror of https://github.com/mt-mods/biome_lib.git synced 2024-12-25 10:20:18 +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:
Vanessa Ezekowitz 2016-07-02 20:59:39 -04:00 committed by GitHub
commit 1dbf5c4b3f

View File

@ -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