From a3e5e61dccb9d32445a69f5b2aee6506c6a00560 Mon Sep 17 00:00:00 2001 From: XIII-MC Date: Sat, 19 Oct 2024 11:11:03 +0200 Subject: [PATCH] removed unused vars --- src/main/java/net/gteam/wave/checks/impl/fly/Fly10A.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/net/gteam/wave/checks/impl/fly/Fly10A.java b/src/main/java/net/gteam/wave/checks/impl/fly/Fly10A.java index 1972e19..3c82464 100644 --- a/src/main/java/net/gteam/wave/checks/impl/fly/Fly10A.java +++ b/src/main/java/net/gteam/wave/checks/impl/fly/Fly10A.java @@ -38,16 +38,12 @@ public void handle(final ClientPlayPacket clientPlayPacket) { final boolean jumpBlockAbove = (movementData.getBlocksAboveTicks() <= 1 || movementData.getLastBlocksAboveTicks() <= 1) && Math.abs(0.2000000476837 - MathUtils.decimalRound(deltaY, 13)) < maximumOffset; - //final boolean jumpGlitch = ((movementData.getClientGroundTicks() <= 1 || ((movementData.getClientGroundTicks() <= 3 || movementData.getServerGroundTicks() == 8 || movementData.getServerGroundTicks() == 9 || movementData.getServerGroundTicks() == 10 || movementData.getServerGroundTicks() == 14 || movementData.getServerGroundTicks() == 15) && (movementData.getNearGroundTicks() <= 1))) && movementData.getLastNearWallTicks() <= 10 && (MathUtils.decimalRound(deltaY, 2) == 0.40 || MathUtils.decimalRound(deltaY, 2) == 0.33 || MathUtils.decimalRound(deltaY, 2) == -0.09 || MathUtils.decimalRound(deltaY, 2) == -0.15)); - final boolean jumpLowBlock = movementData.getHalfBlocksTicks() <= 2 || (movementData.getOffGroundTicks() == 1 && deltaY == 0.5); final boolean jumped = movementData.isLastOnGround() && deltaY == MoveUtils.JUMP_MOTION; - //final boolean fix = !(((movementData.getNearbyBlocksBellow().size() > 1 || !BetterStream.anyMatch(movementData.getNearbyBlocksBellow(), material -> material.toString().equalsIgnoreCase("AIR"))) && !movementData.getNearbyBlocksBellow().isEmpty())); - final boolean exempt = jumped || jumpLowBlock || nearGround