From 886f2f5b43777e609fd930f2e5046ca0db724a31 Mon Sep 17 00:00:00 2001 From: Vagdedes2 | DukeinPro <70439145+Vagdedes2@users.noreply.github.com> Date: Tue, 22 Oct 2024 23:14:19 +0200 Subject: [PATCH] Renabled Speed10A (WIP) --- .../java/net/gteam/wave/checks/impl/motion/Speed10A.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/gteam/wave/checks/impl/motion/Speed10A.java b/src/main/java/net/gteam/wave/checks/impl/motion/Speed10A.java index 739c735..3eea10a 100644 --- a/src/main/java/net/gteam/wave/checks/impl/motion/Speed10A.java +++ b/src/main/java/net/gteam/wave/checks/impl/motion/Speed10A.java @@ -1,6 +1,6 @@ package net.gteam.wave.checks.impl.motion; -import net.gteam.wave.checks.annotations.Disabled; +import net.gteam.wave.checks.annotations.Development; import net.gteam.wave.checks.enums.CheckType; import net.gteam.wave.checks.types.Check; import net.gteam.wave.managers.profile.Profile; @@ -8,7 +8,7 @@ import net.gteam.wave.processors.ClientPlayPacket; import net.gteam.wave.processors.ServerPlayPacket; -@Disabled +@Development public class Speed10A extends Check { public Speed10A(final Profile profile) { @@ -24,7 +24,7 @@ public void handle(final ClientPlayPacket clientPlayPacket) { final double diffXZ = movementData.getDeltaXZ(); - if (predictionValues[1] > 1E-7 && predictionValues[0] >= movementData.getDeltaXZ()) { + if (predictionValues[1] > 0.000001 && movementData.getDeltaXZ() >= predictionValues[0] && movementData.getDeltaXZ() > 0 && movementData.getLastNearWallTicks() > 2 && movementData.getLastClimbableTicks() > 2 && this.profile.getTeleportData().getTeleportTicks() > 2) { if (increaseBufferBy(1) > 2) {