This commit is contained in:
Code-Sploit 2021-04-13 13:57:45 +00:00 committed by kay27
parent 99bb492147
commit eb80cceb8d

@ -701,6 +701,10 @@ function mcl_potions.healing_func(player, hp)
local obj = player:get_luaentity()
if player:get_hp() == 0 then
return
end
if obj and obj.harmed_by_heal then hp = -hp end
if hp > 0 then