translate new abm patch to not use biome lib

This commit is contained in:
unknown 2022-10-23 16:12:56 -04:00
parent f2a17d9eb6
commit f03b7f1b59
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ minetest.register_abm({
nodenames = { "moretrees:palm_fruit_trunk_gen" },
interval = 6,
chance = 1,
--[[ min_y = biome_lib.mapgen_elevation_limit.min,
max_y = biome_lib.mapgen_elevation_limit.max, ]]
min_y = -16,
max_y = 48,
label = "converts palm trunk to a regular fruit trunk, and spawns some coconuts",
action = function(pos, node, active_object_count, active_object_count_wider)
minetest.swap_node(pos, {name="moretrees:palm_fruit_trunk"})