forked from mtcontrib/minetest_hudbars
Only affect health- and breathbar in hide_buildin
... and leave other HUD elements in peace.
This commit is contained in:
parent
ea9a303e48
commit
357229450c
2
init.lua
2
init.lua
@ -242,7 +242,7 @@ if set then
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function hide_builtin(player)
|
local function hide_builtin(player)
|
||||||
player:hud_set_flags({crosshair = true, hotbar = true, healthbar = false, wielditem = true, breathbar = false})
|
player:hud_set_flags({healthbar = false, breathbar = false})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user