forked from mtcontrib/minetest_hbarmor
Fix typo
This commit is contained in:
2
init.lua
2
init.lua
@ -61,7 +61,7 @@ local function update_hud(player)
|
||||
arm = 0
|
||||
hbarmor.armor[name] = 0
|
||||
end
|
||||
if hb.autohide then
|
||||
if hbarmor.autohide then
|
||||
-- hide armor bar completely when there is none
|
||||
if must_hide(name, arm) then
|
||||
hb.hide_hudbar(player, "armor")
|
||||
|
Reference in New Issue
Block a user