forked from mtcontrib/moretrees
spacing fixes
This commit is contained in:
parent
25564985a2
commit
5bfbe63197
@ -52,9 +52,9 @@ if moretrees.enable_leafdecay then
|
|||||||
chance = moretrees.leafdecay_chance,
|
chance = moretrees.leafdecay_chance,
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
if minetest.find_node_near(pos, moretrees.leafdecay_radius, { "ignore", "moretrees:fir_trunk" }) then return end
|
if minetest.find_node_near(pos, moretrees.leafdecay_radius, { "ignore", "moretrees:fir_trunk" }) then return end
|
||||||
process_drops(pos, node.name)
|
process_drops(pos, node.name)
|
||||||
minetest.remove_node(pos)
|
minetest.remove_node(pos)
|
||||||
nodeupdate(pos)
|
nodeupdate(pos)
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -64,9 +64,9 @@ if moretrees.enable_leafdecay then
|
|||||||
chance = moretrees.leafdecay_chance,
|
chance = moretrees.leafdecay_chance,
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
if minetest.find_node_near(pos, moretrees.palm_leafdecay_radius, { "ignore", "moretrees:palm_trunk" }) then return end
|
if minetest.find_node_near(pos, moretrees.palm_leafdecay_radius, { "ignore", "moretrees:palm_trunk" }) then return end
|
||||||
process_drops(pos, node.name)
|
process_drops(pos, node.name)
|
||||||
minetest.remove_node(pos)
|
minetest.remove_node(pos)
|
||||||
nodeupdate(pos)
|
nodeupdate(pos)
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user