From b3790dfa5615836b42976119ac0ddae6218de3c0 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 4 Nov 2019 19:59:52 +0100 Subject: [PATCH] TNT: Fix falling nodes not being updated --- mods/tnt/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/tnt/init.lua b/mods/tnt/init.lua index 5ad3a8d..6c8a2c1 100644 --- a/mods/tnt/init.lua +++ b/mods/tnt/init.lua @@ -201,6 +201,7 @@ function tnt.explode(pos, radius, sound) p.z = pos.z + z if cid ~= c_air then destroy(drops, p, cid) + minetest.check_single_for_falling({x=p.x, y=p.y+1, z=p.z}) end end vi = vi + 1 @@ -220,6 +221,8 @@ function tnt.boom(pos) entity_physics(pos, tnt_radius) eject_drops(drops, pos, tnt_radius) add_effects(pos, tnt_radius) + else + minetest.check_single_for_falling({x=pos.x, y=pos.y+1, z=pos.z}) end end