From fe6cf0cc271f6533917dfd32307c1f0df5691e37 Mon Sep 17 00:00:00 2001 From: sys4 Date: Sun, 20 Jun 2021 16:59:54 +0200 Subject: [PATCH] Fix crash with Minetest 5.4 --- yeti.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yeti.lua b/yeti.lua index 999b371..4191409 100644 --- a/yeti.lua +++ b/yeti.lua @@ -64,14 +64,14 @@ mobs:register_arrow("pmobs:snowball", { player:punch(self.object, 1.0, { full_punch_interval=1.0, damage_groups = {fleshy=1}, - }, 0) + }, nil) end, hit_mob = function(self, player) player:punch(self.object, 1.0, { full_punch_interval=1.0, damage_groups = {fleshy=1}, - }, 0) + }, nil) end, hit_node = function(self, pos, node)