diff --git a/init.lua b/init.lua index 0c4f836..5fff6b9 100644 --- a/init.lua +++ b/init.lua @@ -594,7 +594,9 @@ minetest.register_on_player_hpchange(function(player) end) minetest.register_on_respawnplayer(function(player) + if player_exists(player) then update_health(player) + end hb.hide_hudbar(player, "breath") end)