fix: decomposing leaves now check for falling.

leaves now call `minetest.check_for_falling` at their position when
decomposing into air. this fixes an error where falling nodes would be
left floating above decomposing leaves once said leaves disappeared.
This commit is contained in:
trans_soup 2023-10-19 17:05:49 +02:00
parent 123d3329cd
commit 37d192798e
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ blockgame.register_increasing_abm({
minetest.set_node(pos, {name = "bg_terrain:dirt"})
else
minetest.remove_node(pos)
minetest.check_for_falling(pos)
end
end,
})