mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-27 02:19:33 +01:00
Fix crash with wither projectile
This commit is contained in:
parent
f713394f6d
commit
cc9b78215a
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ mobs:register_arrow(":mobs_mc:fireball", {
|
|||
|
||||
hit_mob = function(self, mob)
|
||||
minetest.sound_play("tnt_explode", {pos = mob:get_pos(), gain = 1.5,max_hear_distance = 16})
|
||||
player:punch(self.object, 1.0, {
|
||||
mob:punch(self.object, 1.0, {
|
||||
full_punch_interval = 0.5,
|
||||
damage_groups = {fleshy = 8},
|
||||
}, nil)
|
||||
|
|
Loading…
Reference in a new issue