Compare commits

...

1 Commits

Author SHA1 Message Date
cora 970beba1b0 Fix crash from stray flame arrows 2022-08-06 10:30:51 +00:00
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ function ARROW_ENTITY.on_step(self, dtime)
end
self._stuckrechecktimer = 0
end
if not pos then return end
-- Pickup arrow if player is nearby (not in Creative Mode)
local objects = minetest.get_objects_inside_radius(pos, 1)
for _,obj in ipairs(objects) do