forked from mtcontrib/minetest_hudbars
Fix breath and health not being updated anymore
This commit is contained in:
parent
3d74745aec
commit
3c182884dc
2
init.lua
2
init.lua
@ -496,7 +496,7 @@ end
|
|||||||
|
|
||||||
-- update built-in HUD bars
|
-- update built-in HUD bars
|
||||||
local function update_hud(player)
|
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 minetest.setting_getbool("enable_damage") then
|
||||||
if hb.settings.forceload_default_hudbars then
|
if hb.settings.forceload_default_hudbars then
|
||||||
hb.unhide_hudbar(player, "health")
|
hb.unhide_hudbar(player, "health")
|
||||||
|
Loading…
Reference in New Issue
Block a user