forked from MineClone5/MineClone5
fix functions in mcl_hbarmor
This commit is contained in:
parent
fd387a65af
commit
ee9577b625
|
@ -21,11 +21,11 @@ if tonumber(set) ~= nil then
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
local must_hide = function(playername, arm)
|
local function must_hide(playername, arm)
|
||||||
return arm == 0
|
return arm == 0
|
||||||
end
|
end
|
||||||
|
|
||||||
local arm_printable = function(arm)
|
local function arm_printable(arm)
|
||||||
return math.ceil(math.floor(arm+0.5))
|
return math.ceil(math.floor(arm+0.5))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue