From 6df069daf78a02fba75145610499e546bd972b42 Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Wed, 7 Sep 2016 21:24:40 +0200 Subject: [PATCH] [3d_armor_stand] Potentially help for #102 --- mods/3d_armor/3d_armor_stand/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/3d_armor/3d_armor_stand/init.lua b/mods/3d_armor/3d_armor_stand/init.lua index 0a4e91c..c624ebf 100644 --- a/mods/3d_armor/3d_armor_stand/init.lua +++ b/mods/3d_armor/3d_armor_stand/init.lua @@ -39,7 +39,7 @@ local function update_entity(pos) local node = minetest.get_node(pos) local object = get_stand_object(pos) if object then - if not string.find(node.name, "3d_armor_stand:") then + if not string.find(node.name, "3d_armor_stand:") and object:get_luaentity() ~= "gauges:hp_bar" then object:remove() return end