Recoded MorePackets, fixed false positive. This commit is a release candidate.

This commit is contained in:
Rammelkast committed 2020-05-13 17:16:04 +02:00
1 parent 918549bc11
commit f94a430d41
9 files changed
+100 -72

No files matched your search

@@ -50,7 +50,7 @@ public class AimbotCheck {
LAST_DELTA_YAW.put(uuid, dYaw);
float absoluteYawDifference = Math.abs(dYaw - lastDeltaYaw);
if (absoluteYawDifference < 1E-8 && dYaw > 30 && dYaw < 360) {
if (absoluteYawDifference < 1E-8 && dYaw > 30 && dYaw < 355) {
return new CheckResult(CheckResult.Result.FAILED, "repeated yaw difference (dYaw=" + dYaw + ")");
}
return PASS;