Fix crash with wither projectile

This commit is contained in:
Wuzzy 2019-03-11 13:23:55 +01:00
parent f713394f6d
commit cc9b78215a

View file

@ -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)