mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Fixed issue with config reloading and false positives
This commit is contained in:
1 parent
6966582e4c
commit
f4ca2ea8bf
5 files changed
+21
-10
No files matched your search
@@ -172,6 +172,9 @@ public class SpeedCheck {
|
||||
// Slab leniency
|
||||
if (movementManager.halfMovementHistoryCounter > 8)
|
||||
limit += 0.2D;
|
||||
// LivingEntities can give players a small push boost
|
||||
if (!movingTowards.getWorld().getNearbyEntities(movingTowards, 0.3, 0.3, 0.3).isEmpty())
|
||||
limit += 0.2D;
|
||||
// Leniency when boxed in
|
||||
if (boxedIn)
|
||||
limit *= 1.1D;
|
||||
|
||||
Reference in new issue
Block a user