mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-15 15:41:06 +01:00
Massive mcl_burning performance improvement
This commit is contained in:
parent
9a6331adde
commit
f94ab6c8a5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
@ -3913,7 +3913,7 @@ minetest.register_entity(name, {
|
|||
--default built in engine collision detection
|
||||
self.object:set_properties({
|
||||
collide_with_objects = false,
|
||||
})
|
||||
})
|
||||
return mob_activate(self, staticdata, def, dtime)
|
||||
end,
|
||||
|
||||
|
|
Loading…
Reference in a new issue