diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 962f1340f3..535bea0d1f 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -3459,6 +3459,7 @@ local mob_punch = function(self, hitter, tflp, tool_capabilities, dir) dir = dir or {x = 0, y = 0, z = 0} local v = self.object:get_velocity() + if not v then return end local r = 1.4 - min(punch_interval, 1.4) local kb = r * (abs(v.x)+abs(v.z)) local up = 2