mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Fix #123, fix elytrafly false positive, fix flight false positive when falling, fix speed false positive with slabs, fixed strafe false positive with slabs, fixed TPS formatting issue, improved default config
This commit is contained in:
1 parent
646e906ada
commit
bd1db83a98
8 files changed
+46
-72
No files matched your search
@@ -71,9 +71,11 @@ public class ElytraCheck {
|
||||
}
|
||||
|
||||
if (!JUMP_Y_VALUE.containsKey(uuid)) {
|
||||
JUMP_Y_VALUE.put(uuid, distance.toY());
|
||||
// Distance + player height
|
||||
JUMP_Y_VALUE.put(uuid, distance.toY() + 1.8D);
|
||||
return PASS;
|
||||
}
|
||||
|
||||
double lastY = JUMP_Y_VALUE.get(uuid);
|
||||
if (lastY < distance.toY()) {
|
||||
double diff = distance.toY() - lastY;
|
||||
|
||||
Reference in new issue
Block a user