From f03b7f1b59d00ff11532a976ca2159ee4d6e8db1 Mon Sep 17 00:00:00 2001 From: unknown <24964441+wsor4035@users.noreply.github.com> Date: Sun, 23 Oct 2022 16:12:56 -0400 Subject: [PATCH] translate new abm patch to not use biome lib --- cocos_palm.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos_palm.lua b/cocos_palm.lua index f9ad369..83fbbe9 100644 --- a/cocos_palm.lua +++ b/cocos_palm.lua @@ -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"})