From 3c182884dcf4ec1a98ca05c16c247a62abbfe50f Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 2 Dec 2016 22:36:10 +0100 Subject: [PATCH] Fix breath and health not being updated anymore --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index b06a85b..f5cc0ec 100644 --- a/init.lua +++ b/init.lua @@ -496,7 +496,7 @@ end -- update built-in HUD bars local function update_hud(player) - if not player_exists() then return end + if not player_exists(player) then return end if minetest.setting_getbool("enable_damage") then if hb.settings.forceload_default_hudbars then hb.unhide_hudbar(player, "health")