Skip to content

Commit

Permalink
Renabled Speed10A (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagdedes2 committed Oct 22, 2024
1 parent f6a2d64 commit 886f2f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/net/gteam/wave/checks/impl/motion/Speed10A.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
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;
import net.gteam.wave.playerdata.data.impl.MovementData;
import net.gteam.wave.processors.ClientPlayPacket;
import net.gteam.wave.processors.ServerPlayPacket;

@Disabled
@Development
public class Speed10A extends Check {

public Speed10A(final Profile profile) {
Expand All @@ -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) {

Expand Down

0 comments on commit 886f2f5

Please sign in to comment.