mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Add velocity check to speed checks.
This commit is contained in:
1 parent
d249924fe8
commit
bf85d73fc3
1 file changed
+1
-1
@@ -176,7 +176,7 @@ public class Backend
|
||||
|
||||
public boolean checkYSpeed(Player player,double y)
|
||||
{
|
||||
if(player.getVehicle() == null && y > Y_SPEED_MAX)
|
||||
if(player.getVehicle() == null && y > Y_SPEED_MAX && !isVelocity(player))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user