forked from VoxeLibre/VoxeLibre
Adjust minimum pvp knockback to be closer to MC
This commit is contained in:
parent
49af5d2013
commit
bf9e487fa9
|
@ -293,7 +293,7 @@ function minetest.calculate_knockback(player, hitter, time_from_last_punch, tool
|
||||||
})
|
})
|
||||||
-- add minimum knockback
|
-- add minimum knockback
|
||||||
if knockback <= 1.5 then
|
if knockback <= 1.5 then
|
||||||
knockback = knockback + 4.5
|
knockback = knockback + 4.875
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
-- add player velocity to knockback
|
-- add player velocity to knockback
|
||||||
|
|
Loading…
Reference in New Issue