mirror of
https://repo.or.cz/minetest_hbarmor.git
synced 2024-11-14 14:50:18 +01:00
Fix wrong call to init_hudbar
This commit is contained in:
parent
640e154fb2
commit
8941d98e38
2
init.lua
2
init.lua
|
@ -33,7 +33,7 @@ local function custom_hud(player)
|
|||
local arm = tonumber(hud.armor[name])
|
||||
if not arm then arm = 0 end
|
||||
local hide = must_hide(name, arm)
|
||||
hb.init_hudbar(player, "armor", arm_printable(arm), nil, nil, hide)
|
||||
hb.init_hudbar(player, "armor", arm_printable(arm), nil, hide)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user