Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_abm({
nodenames = {"moretrees:jungletree_leaves_red","moretrees:jungletree_leaves_green","moretrees:jungletree_leaves_yellow"},
interval = moretrees.leafdecay_delay,
chance = moretrees.leafdecay_chance,
action = function(pos, node, active_object_count, active_object_count_wider)
if not minetest.env:find_node_near(pos, moretrees.leafdecay_radius, {"default:jungletree", "moretrees:jungletree_trunk"}) then
minetest.env:remove_node(pos)
minetest.env:dig_node(pos)
end
end
})
why do you have this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
having both
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
and
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
makes game dig only air, empty space, judging by debug.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
ACTION[ServerThread]: digs air at (446,34,-457)
maybe that is the problem?