This commit is contained in:
Elias Fleckenstein 2021-03-19 11:40:46 +01:00
parent 4ff987ccc5
commit 55df2a57f4

@ -117,6 +117,10 @@ function mcl_burning.damage(obj)
end
function mcl_burning.set_on_fire(obj, burn_time, reason)
if obj:get_hp() < 0 then
return
end
local luaentity = obj:get_luaentity()
if luaentity and luaentity.fire_resistant then
return