From 0a3cab9719a8160dbabfb318d337bd8a994476b7 Mon Sep 17 00:00:00 2001 From: MistUnky Date: Mon, 26 Apr 2021 23:35:46 -0400 Subject: [PATCH] replace nodeupdate with checkforfalling minetest --- mods/default/functions.lua | 1 + mods/fire/init.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/mods/default/functions.lua b/mods/default/functions.lua index aa71e96..2bb33f6 100644 --- a/mods/default/functions.lua +++ b/mods/default/functions.lua @@ -300,6 +300,7 @@ minetest.register_abm({ -- Remove node minetest.remove_node(p0) --nodeupdate(p0) + minetest.check_for_falling(p0) end end }) diff --git a/mods/fire/init.lua b/mods/fire/init.lua index 57ebfad..c57dbfe 100644 --- a/mods/fire/init.lua +++ b/mods/fire/init.lua @@ -181,6 +181,7 @@ minetest.register_abm({ end minetest.remove_node(p) --nodeupdate(p) + minetest.check_for_falling(p) end else -- remove flame