1
0
Fork 0

Reduce knockback floatiness

This commit is contained in:
Eliy21 2023-11-11 16:42:06 +00:00
parent 107fb0b082
commit 5ebe9f549b
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ function mob_class:on_punch(hitter, tflp, tool_capabilities, dir)
if not v then return end
local r = 1.4 - math.min(punch_interval, 1.4)
local kb = r * (math.abs(v.x)+math.abs(v.z))
local up = 2.75
local up = 2.5
if die==true then
kb=kb*2