diff --git a/src/main/java/meteordevelopment/meteorclient/systems/modules/movement/elytrafly/ElytraFlightMode.java b/src/main/java/meteordevelopment/meteorclient/systems/modules/movement/elytrafly/ElytraFlightMode.java index 36b3374e46..fc07b278c6 100644 --- a/src/main/java/meteordevelopment/meteorclient/systems/modules/movement/elytrafly/ElytraFlightMode.java +++ b/src/main/java/meteordevelopment/meteorclient/systems/modules/movement/elytrafly/ElytraFlightMode.java @@ -190,6 +190,10 @@ public void handleAcceleration() { } } + public void zeroAcceleration() { + acceleration = 0; + } + protected double getSpeed() { return elytraFly.acceleration.get() ? acceleration : elytraFly.horizontalSpeed.get(); } diff --git a/src/main/java/meteordevelopment/meteorclient/systems/modules/movement/elytrafly/ElytraFly.java b/src/main/java/meteordevelopment/meteorclient/systems/modules/movement/elytrafly/ElytraFly.java index d3ad217585..8c65e95fdf 100644 --- a/src/main/java/meteordevelopment/meteorclient/systems/modules/movement/elytrafly/ElytraFly.java +++ b/src/main/java/meteordevelopment/meteorclient/systems/modules/movement/elytrafly/ElytraFly.java @@ -400,6 +400,7 @@ private void onPlayerMove(PlayerMoveEvent event) { if (mc.world.getChunkManager().isChunkLoaded(chunkX, chunkZ)) { if (flightMode.get() != ElytraFlightModes.Bounce) ((IVec3d) event.movement).set(currentMode.velX, currentMode.velY, currentMode.velZ); } else { + currentMode.zeroAcceleration(); ((IVec3d) event.movement).set(0, currentMode.velY, 0); } } else if (flightMode.get() != ElytraFlightModes.Bounce) ((IVec3d) event.movement).set(currentMode.velX, currentMode.velY, currentMode.velZ);