From bfc036389cebbcac838f5e5c86a929c68bc67963 Mon Sep 17 00:00:00 2001 From: trans_soup <> Date: Thu, 12 Oct 2023 11:13:44 +0200 Subject: [PATCH] fix root growth error. roots now extend from below the bottom log, instead of from the log itself. --- mods/bg_tree/grow.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/bg_tree/grow.lua b/mods/bg_tree/grow.lua index 62e47f5..ca37f74 100644 --- a/mods/bg_tree/grow.lua +++ b/mods/bg_tree/grow.lua @@ -71,7 +71,7 @@ minetest.register_abm({ if blockgame.chance(4) then local root_source = api.find_bottom_log(pos, 8) if root_source ~= nil then - spread_roots_from(root_source) + spread_roots_from(root_source + blockgame.vector.dirs.down) end end