From 9ebabff5f4a51715da830afa5865d8f8d993a42f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 4 Aug 2017 21:05:58 +0200 Subject: [PATCH] Add another growth stage for saplings --- mods/ITEMS/mcl_core/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_core/functions.lua b/mods/ITEMS/mcl_core/functions.lua index 9a5a72e91..57963ad24 100644 --- a/mods/ITEMS/mcl_core/functions.lua +++ b/mods/ITEMS/mcl_core/functions.lua @@ -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