We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a4f242 commit 28f0b39Copy full SHA for 28f0b39
mods/other/minetest_hudbars/init.lua
@@ -416,7 +416,7 @@ function hb.hide_hudbar(player, identifier)
416
if not player_exists(player) then return false end
417
local name = player:get_player_name()
418
local hudtable = hb.get_hudtable(identifier)
419
- if hudtable == nil then return false end
+ if hudtable == nil or not hudtable.hudstate[name] then return false end
420
if hudtable.hudstate[name].hidden == true then return true end
421
if hb.settings.bar_type == "progress_bar" then
422
if hudtable.hudids[name].icon ~= nil then
0 commit comments