diff --git a/bushes/mod.conf b/bushes/mod.conf index 2d54307..18c091d 100644 --- a/bushes/mod.conf +++ b/bushes/mod.conf @@ -1,3 +1,3 @@ name = bushes -depends = default, biome_lib, plantlife_lib +depends = default, plantlife_lib optional_depends = stoneage, sumpf diff --git a/youngtrees/init.lua b/youngtrees/init.lua index 586b5e4..c6b3fc4 100644 --- a/youngtrees/init.lua +++ b/youngtrees/init.lua @@ -134,7 +134,7 @@ abstract_youngtrees.grow_youngtree_node = function(pos, height) end -biome_lib.register_on_generate({ +pl.register_on_generate({ surface = { "default:dirt_with_grass", "stoneage:grass_with_silex", @@ -146,5 +146,7 @@ biome_lib.register_on_generate({ plantlife_limit = youngtrees_youngtrees_fertility, min_elevation = 1, -- above sea level }, + "youngtrees:youngtrees", + nil, abstract_youngtrees.grow_youngtree ) diff --git a/youngtrees/mod.conf b/youngtrees/mod.conf index 7de3928..1ac7ade 100644 --- a/youngtrees/mod.conf +++ b/youngtrees/mod.conf @@ -1,2 +1,2 @@ name = youngtrees -depends = default, biome_lib +depends = default, plantlife_lib