Fix wrong var name in mcl_mobs

This commit is contained in:
Wuzzy 2020-08-05 17:29:52 +02:00
parent b1b50df9ab
commit e2735e0081

View File

@ -2639,7 +2639,7 @@ local mob_punch = function(self, hitter, tflp, tool_capabilities, dir)
if self.do_punch then
-- when false skip going any further
if self.do_punch(self, hitter, tflp, tool_caps, dir) == false then
if self.do_punch(self, hitter, tflp, tool_capabilities, dir) == false then
return
end
end