mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-01-12 11:37:31 +01:00
fix functions in mcl_hbarmor
This commit is contained in:
parent
fd387a65af
commit
ee9577b625
@ -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 New Issue
Block a user