diff --git a/src/main/java/dev/coredoes/clientmod/modules/Jetpack.java b/src/main/java/dev/coredoes/clientmod/modules/Jetpack.java index 4d54ba6..c4883db 100644 --- a/src/main/java/dev/coredoes/clientmod/modules/Jetpack.java +++ b/src/main/java/dev/coredoes/clientmod/modules/Jetpack.java @@ -87,9 +87,12 @@ public class Jetpack implements Module { Vec3d velocity = client.player.getVelocity(); - if (vanillaBypassTickCounter < 0) { + if (vanillaBypassTickCounter < -1) { client.player.setVelocity(new Vec3d(velocity.getX(), -0.04, velocity.getZ())); return; + } else if (vanillaBypassTickCounter == -1) { + client.player.setVelocity(new Vec3d(velocity.getX(), 0.04 * (vanillaBypassResetTimeout - 1), velocity.getZ())); + return; } Vec3d newVel = new Vec3d(0, 0, 0);