1
0
mirror of https://codeberg.org/tenplus1/bonemeal.git synced 2025-05-06 19:20:31 +02:00

fix y_func

This commit is contained in:
tenplus1 2025-05-05 12:52:11 +01:00
parent d6893aae07
commit be412804df

View File

@ -264,15 +264,17 @@ if core.get_modpath("caverealms") then
}) })
end end
-- ferns -- helper
if core.get_modpath("ferns") then local function y_func(grow_func)
local function y_func(grow_func)
return function(pos) return function(pos)
grow_func({x = pos.x, y = pos.y - 1, z = pos.z}) grow_func({x = pos.x, y = pos.y - 1, z = pos.z})
end end
end end
-- ferns
if core.get_modpath("ferns") then
bonemeal:add_sapling({ bonemeal:add_sapling({
{"ferns:sapling_giant_tree_fern", {"ferns:sapling_giant_tree_fern",