1
0
Fork 0

Fix crash when shooting crystals with rocket arrow

This commit is contained in:
cora 2022-09-13 02:39:11 +02:00 committed by Gitea
parent 03f5c2908f
commit 0d354cca73
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ end
local function damage_explosion(self, damagemulitplier)
local p = self.object:get_pos()
if not p then return end
mcl_explosions.explode(p, 3, {})
local objects = minetest.get_objects_inside_radius(p, 8)
for _,obj in pairs(objects) do