diff options
author | Rogier <rogier@nowhere.nonet> | 2016-07-02 12:19:04 +0200 |
---|---|---|
committer | Rogier <rogier@nowhere.nonet> | 2016-07-02 12:46:46 +0200 |
commit | 5b3a2e0439e7ee88e7417aadef15fe961b9da317 (patch) | |
tree | 3c2b31b71e93e02a6c24ef46748dc68c80507b35 /init.lua | |
parent | 3a3ed250c68eba33eab39d147ff890e3faaba25b (diff) |
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.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |