1
0
Fork 0

Fix Mobs not taking knockback on the Y-axis

objects
Code-Sploit 2021-02-05 10:36:48 +00:00
parent 13a9dbed3e
commit 95b0a27213
1 changed files with 1 additions and 1 deletions

View File

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