Change mcl_mobs to enable knockback in y direction

This commit is contained in:
Elias Åström 2020-04-18 12:22:28 +02:00
parent 92ab90fd1b
commit cdea2eeabf

View file

@ -2730,7 +2730,7 @@ local mob_punch = function(self, hitter, tflp, tool_capabilities, dir)
self.object:set_velocity({
x = dir.x * kb,
y = up,
y = dir.y * kb + up,
z = dir.z * kb
})