diff --git a/mods/hudbars/default_settings.lua b/mods/hudbars/default_settings.lua index d2f11c8..31cd214 100644 --- a/mods/hudbars/default_settings.lua +++ b/mods/hudbars/default_settings.lua @@ -50,3 +50,6 @@ end hb.settings.hp_player_maximun = hb.load_setting("hudbars_hp_player_maximun", "number", 20) hb.settings.br_player_maximun = hb.load_setting("hudbars_br_player_maximun", "number", 10) +if minetest.has_feature("object_use_texture_alpha") then +core.PLAYER_MAX_HP_DEFAULT = hb.settings.hp_player_maximun +end