mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Added flymod and speedhack prevention
This commit is contained in:
1 parent
db8686eea6
commit
93a725e031
3 files changed
+53
-7
No files matched your search
@@ -23,6 +23,18 @@ public class LengthCheck {
|
||||
return xdiff;
|
||||
}
|
||||
|
||||
public double getZDifference()
|
||||
{
|
||||
double bz = l1.getZ();
|
||||
double pz = l2.getZ();
|
||||
double zdiff = bz-pz;
|
||||
if(zdiff < 0)
|
||||
{
|
||||
zdiff = -zdiff;
|
||||
}
|
||||
return zdiff;
|
||||
}
|
||||
|
||||
public double getYDifference()
|
||||
{
|
||||
double by = l1.getY();
|
||||
|
||||
Reference in new issue
Block a user