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,
}, true)
end
mcl_burning.extinguish(self.object)
mcl_util.remove_entity(self)
return
end
mcl_burning.extinguish(self.object)
mcl_util.remove_entity(self)
return true
end
end
end
@ -333,7 +333,8 @@ function mod.sticks(self, dtime, entity_def, projectile_def)
-- Stuck handling
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