mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
fix functions in mcl_hbarmor
This commit is contained in:
parent
fd387a65af
commit
ee9577b625
1 changed files with 2 additions and 2 deletions
|
@ -21,11 +21,11 @@ if tonumber(set) ~= nil then
|
|||
end
|
||||
|
||||
|
||||
local must_hide = function(playername, arm)
|
||||
local function must_hide(playername, arm)
|
||||
return arm == 0
|
||||
end
|
||||
|
||||
local arm_printable = function(arm)
|
||||
local function arm_printable(arm)
|
||||
return math.ceil(math.floor(arm+0.5))
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue