Change mcl_mobs to enable knockback in y direction
This commit is contained in:
parent
92ab90fd1b
commit
cdea2eeabf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
})
|
||||
|
||||
|
|
Reference in a new issue