mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-29 05:51:05 +01:00
Don't show armor bar for 0 armor
This commit is contained in:
parent
5729d70814
commit
329452d5ce
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ end
|
||||||
|
|
||||||
|
|
||||||
local must_hide = function(playername, arm)
|
local must_hide = function(playername, arm)
|
||||||
return ((not armor.def[playername].count or armor.def[playername].count == 0) and arm == 0)
|
return arm == 0
|
||||||
end
|
end
|
||||||
|
|
||||||
local arm_printable = function(arm)
|
local arm_printable = function(arm)
|
||||||
|
|
Loading…
Reference in a new issue