From cc9b78215a5ee9737caad170df1f38b0e2d80ca4 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 11 Mar 2019 13:23:55 +0100 Subject: [PATCH] Fix crash with wither projectile --- mods/ENTITIES/mobs_mc/wither.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mobs_mc/wither.lua b/mods/ENTITIES/mobs_mc/wither.lua index a06510a94..05431ce98 100644 --- a/mods/ENTITIES/mobs_mc/wither.lua +++ b/mods/ENTITIES/mobs_mc/wither.lua @@ -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)