Compare commits

..

2 Commits

1 changed files with 6 additions and 5 deletions

View File

@ -317,11 +317,11 @@ local function stuck_on_step(self, dtime, entity_def, projectile_def)
gain = 1.0, gain = 1.0,
}, true) }, true)
end end
end
mcl_burning.extinguish(self.object) mcl_burning.extinguish(self.object)
mcl_util.remove_entity(self) mcl_util.remove_entity(self)
return return true
end
end end
end end
end end
@ -333,7 +333,8 @@ function mod.sticks(self, dtime, entity_def, projectile_def)
-- Stuck handling -- Stuck handling
if self._stuck then if self._stuck then
return stuck_on_step(self, dtime, entity_def, projectile_def) stuck_on_step(self, dtime, entity_def, projectile_def)
return true
end end
end end