master #5

Merged
epCode merged 255 commits from VoxeLibre/VoxeLibre:master into master 2021-02-02 23:20:01 +01:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit f86cf37ac9 - Show all commits

View File

@ -106,9 +106,10 @@ function mcl_burning.damage(obj)
damage = 1
end
local new_hp = hp - damage
obj:set_hp(new_hp)
if health then
luaentity.health = new_hp
else
obj:set_hp(new_hp)
end
end
end