fix root growth error.

roots now extend from below the bottom log, instead of from the log
itself.
This commit is contained in:
trans_soup 2023-10-12 11:13:44 +02:00
parent 9133c0d5c4
commit bfc036389c
1 changed files with 1 additions and 1 deletions

View File

@ -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