forked from mtcontrib/plantlife_modpack
Don't generate tree ferns without a trunk.
This commit is contained in:
parent
f91caae9bd
commit
54b116525a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user