From 1f107ec0c73c1210dd0d61662e46790249368760 Mon Sep 17 00:00:00 2001 From: ancientmarinerdev Date: Thu, 26 Jan 2023 22:10:49 +0000 Subject: [PATCH] Tidy --- mods/ENTITIES/mcl_mobs/api.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 9f47de185..05fe2f4f7 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -363,10 +363,7 @@ function mob_class:on_step(dtime) if not pos then return end if self:check_despawn(pos, dtime) then return true end - - if self:outside_limits() then - return - end + if self:outside_limits() then return end if self:check_death_and_slow_mob() then --minetest.log("action", "Mob is dying: ".. tostring(self.name))