Massive mcl_burning performance improvement

This commit is contained in:
Elias Fleckenstein 2021-04-16 18:34:29 +02:00 committed by kay27
parent 9a6331adde
commit f94ab6c8a5

View file

@ -3454,7 +3454,7 @@ end
-- main mob function
local mob_step = function(self, dtime)
if not self.fire_resistant 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