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