mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 17:55:10 +00:00
Add another growth stage for saplings
This commit is contained in:
parent
55eba5c54b
commit
9ebabff5f4
1 changed files with 1 additions and 1 deletions
|
@ -759,7 +759,7 @@ local sapling_grow_action = function(trunknode, leafnode, tree_id, soil_needed)
|
|||
local stage = meta:get_int("stage")
|
||||
if stage == nil then stage = 0 end
|
||||
stage = stage + 1
|
||||
if stage == 2 then
|
||||
if stage >= 3 then
|
||||
minetest.set_node(pos, {name="air"})
|
||||
mcl_core.generate_tree(pos, trunknode, leafnode, tree_id)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue