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;