Fix crash with Minetest 5.4

This commit is contained in:
bri cassa 2021-06-20 16:59:54 +02:00
parent 81d7c99477
commit fe6cf0cc27
1 changed files with 2 additions and 2 deletions

View File

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