1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2024-11-05 09:50:27 +01:00

Don't generate tree ferns without a trunk.

This commit is contained in:
Rogier 2015-06-21 13:37:03 +02:00
parent f91caae9bd
commit 54b116525a

View File

@ -22,6 +22,7 @@ abstract_ferns.grow_tree_fern = function(pos)
if (size > 5) then
size = 10 - size
end
size = size + 1
local crown = ({ "ferns:tree_fern_leaves", "ferns:tree_fern_leaves_02" })[math.random(1, 2)]
local i = 1