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,9 +264,7 @@ if core.get_modpath("caverealms") then
})
end
-- ferns
if core.get_modpath("ferns") then
-- helper
local function y_func(grow_func)
return function(pos)
@ -274,6 +272,10 @@ if core.get_modpath("ferns") then
end
end
-- ferns
if core.get_modpath("ferns") then
bonemeal:add_sapling({
{"ferns:sapling_giant_tree_fern",
y_func(abstract_ferns.grow_giant_tree_fern), "soil"},