From 329452d5cee82fdd19ac13b1367e8a9d453e18e8 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 18 Feb 2020 20:10:35 +0100 Subject: [PATCH] Don't show armor bar for 0 armor --- mods/HUD/mcl_hbarmor/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/HUD/mcl_hbarmor/init.lua b/mods/HUD/mcl_hbarmor/init.lua index 36dad2a50..57978359c 100644 --- a/mods/HUD/mcl_hbarmor/init.lua +++ b/mods/HUD/mcl_hbarmor/init.lua @@ -26,7 +26,7 @@ end local must_hide = function(playername, arm) - return ((not armor.def[playername].count or armor.def[playername].count == 0) and arm == 0) + return arm == 0 end local arm_printable = function(arm)