mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 22:16:03 +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)
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user