Fix mcl_burning.tick not being called at all for mobs

This commit is contained in:
Lizzy Fleckenstein 2021-04-16 18:37:07 +02:00
parent 095f78b785
commit 01c79c5a18
1 changed files with 1 additions and 1 deletions

View File

@ -3447,7 +3447,7 @@ end
-- main mob function
local mob_step = function(self, dtime)
if not self.fire_resistant and self._mcl_burning_burn_time and self._mcl_burning_burn_time > 0 then
if not self.fire_resistant and self.mcl_burning_burn_time and self.mcl_burning_burn_time > 0 then
mcl_burning.tick(self.object, dtime)
end