mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 12:31:05 +01:00
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
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue