Change to use nil radius in within_limits(pos,radius) check

This commit is contained in:
teknomunk 2024-12-05 09:54:38 -06:00
parent 980d18b6d2
commit d2523dcb02

@ -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