From d2523dcb0246b5bc70600cdd98f19e525978fc38 Mon Sep 17 00:00:00 2001 From: teknomunk Date: Thu, 5 Dec 2024 09:54:38 -0600 Subject: [PATCH] Change to use nil radius in within_limits(pos,radius) check --- mods/ENTITIES/mcl_mobs/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/init.lua b/mods/ENTITIES/mcl_mobs/init.lua index d6166c80e..62db6a7f8 100644 --- a/mods/ENTITIES/mcl_mobs/init.lua +++ b/mods/ENTITIES/mcl_mobs/init.lua @@ -471,7 +471,7 @@ function mcl_mobs.register_arrow(name, def) local pos = self.object:get_pos() if not pos then return end - if self.switch == 0 or self.timer > self._lifetime or not within_limits(pos, 0) then + if self.switch == 0 or self.timer > self._lifetime or not within_limits(pos) then mcl_burning.extinguish(self.object) mcl_util.remove_entity(self) return