mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-26 09:59:33 +01:00
Fix crash when shooting crystals with rocket arrow
This commit is contained in:
parent
03f5c2908f
commit
0d354cca73
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue