mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Fixed YAxis false positive, added BadPackets check and cleaned up code and README .
This commit is contained in:
1 parent
76c595e255
commit
9771387909
20 files changed
+600
-323
No files matched your search
@@ -30,6 +30,7 @@ public class Distance {
|
||||
private final double ZDiff;
|
||||
|
||||
private final Location from;
|
||||
private final Location to;
|
||||
|
||||
public Distance(Location from, Location to) {
|
||||
l1Y = to.getY();
|
||||
@@ -40,6 +41,7 @@ public class Distance {
|
||||
YDiff = Math.abs(l1Y - l2Y);
|
||||
|
||||
this.from = from;
|
||||
this.to = to;
|
||||
}
|
||||
|
||||
public double fromY() {
|
||||
@@ -65,4 +67,8 @@ public class Distance {
|
||||
public Location getFrom() {
|
||||
return this.from;
|
||||
}
|
||||
|
||||
public Location getTo() {
|
||||
return this.to;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user