From 5e4fa30aaea38fd45ade6b5a355f7377f382ba1a Mon Sep 17 00:00:00 2001 From: epCode Date: Sun, 4 Jun 2023 20:19:18 -0700 Subject: [PATCH] Punch node after change --- mods/ENTITIES/mcl_mobs/movement.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/movement.lua b/mods/ENTITIES/mcl_mobs/movement.lua index 7a89e010c..c5c7a6823 100644 --- a/mods/ENTITIES/mcl_mobs/movement.lua +++ b/mods/ENTITIES/mcl_mobs/movement.lua @@ -525,10 +525,10 @@ function mob_class:replace_node(pos) minetest.after(self.replace_delay, function() if self and self.object and self.object:get_velocity() and self.health > 0 then minetest.set_node(pos, newnode) + minetest.punch_node(pos) end end) end - end end end