From 123cd79f33c26fc4dbbfcfade45fb17aebf4043b Mon Sep 17 00:00:00 2001 From: JustDoom <61824552+JustDoom@users.noreply.github.com> Date: Mon, 25 Oct 2021 16:34:09 +1000 Subject: [PATCH] 1.7.7 BETA --- pom.xml | 2 +- .../justdoom/flappyanticheat/checks/movement/speed/SpeedA.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 19c674f..0000e71 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.justdoom FlappyAnticheat - 1.7.6-BETA + 1.7.7-BETA jar FlappyAnticheat diff --git a/src/main/java/com/justdoom/flappyanticheat/checks/movement/speed/SpeedA.java b/src/main/java/com/justdoom/flappyanticheat/checks/movement/speed/SpeedA.java index 53ad092..b8f25f9 100644 --- a/src/main/java/com/justdoom/flappyanticheat/checks/movement/speed/SpeedA.java +++ b/src/main/java/com/justdoom/flappyanticheat/checks/movement/speed/SpeedA.java @@ -55,10 +55,9 @@ public void onPacketPlayReceive(PlayerMoveEvent event) { if (ServerUtil.lowTPS(("checks." + check + "." + checkType).toLowerCase())) return; - player. if(player.isGliding() || (player.getInventory().getChestplate() != null && player.getInventory().getChestplate().getType() == Material.ELYTRA)) return; - + //Thanks to sprit for this check - modified it to fit with the base, its usually much better :/ if (!data.onGround && !data.lastOnGround && !(data.entities.size() > 0)) { double prediction = data.lastDeltaXZ * 0.91F + 0.0259F;