Fix crash when mob projectile hits player
This commit is contained in:
parent
80486af447
commit
8b4c07f82b
@ -115,7 +115,7 @@ mobs:register_arrow("mobs_hades:fireball", {
|
||||
player:punch(self.object, 1.0, {
|
||||
full_punch_interval=1.0,
|
||||
damage_groups = {fleshy=8},
|
||||
}, 0) -- {x=s.x-p.x, y=s.y-p.y, z=s.z-p.z})
|
||||
})
|
||||
end,
|
||||
|
||||
-- node hit, bursts into flame (cannot blast through obsidian)
|
||||
|
@ -86,7 +86,7 @@ mobs:register_arrow("mobs_hades:mese_arrow", {
|
||||
player:punch(self.object, 1.0, {
|
||||
full_punch_interval=1.0,
|
||||
damage_groups = {fleshy=1},
|
||||
}, 0) -- {x=s.x-p.x, y=s.y-p.y, z=s.z-p.z})
|
||||
})
|
||||
end,
|
||||
|
||||
hit_node = function(self, pos, node)
|
||||
|
Loading…
x
Reference in New Issue
Block a user