Prevent unsuspend noise on loose leaves
This commit is contained in:
parent
5ece643b48
commit
e59b057783
@ -57,10 +57,14 @@ minetest.register_globalstep(function()
|
||||
if not bnode then
|
||||
pend(pos)
|
||||
elseif fallthru[bnode.name] then
|
||||
nodecore.log("action", "falling node unsuspend at "
|
||||
.. minetest.pos_to_string(pos))
|
||||
minetest.check_for_falling(pos)
|
||||
if toomanyents() then break end
|
||||
local node = minetest.get_node(pos)
|
||||
if node.name ~= bnode.name then
|
||||
nodecore.log("action",
|
||||
"falling node unsuspend at "
|
||||
.. minetest.pos_to_string(pos))
|
||||
minetest.check_for_falling(pos)
|
||||
if toomanyents() then break end
|
||||
end
|
||||
end
|
||||
end
|
||||
batchpos = batchpos + 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user