aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author alemi <me@alemi.dev>2023-02-15 21:44:05 +0100
committer alemi <me@alemi.dev>2023-02-15 21:44:05 +0100
commitcaf64a44f20a5d7f59b85146c8fdffdc4823724c (patch)
tree099c681027aa8c3d6af9c27d93e0e0878caf23b4
parentc2455718f9d94528f8de6d7511f9c32a9e4077e4 (diff)
fix: don't slow down freecam vertical movement
-rw-r--r--src/main/java/ftbsc/bscv/modules/self/Freecam.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/bscv/modules/self/Freecam.java b/src/main/java/ftbsc/bscv/modules/self/Freecam.java
index 37af96c..72b64a4 100644
--- a/src/main/java/ftbsc/bscv/modules/self/Freecam.java
+++ b/src/main/java/ftbsc/bscv/modules/self/Freecam.java
@@ -67,7 +67,7 @@ public class Freecam extends QuickModule implements ICommons {
protected void onTick(TickEvent.ClientTickEvent event) {
if (MC.player == null) return;
MC.player.abilities.setFlyingSpeed(this.speed.get().floatValue());
- if (!this.drift.get() && !Keyboard.isStrafing()) {
+ if (!this.drift.get() && !Keyboard.isMoving()) {
MC.player.setDeltaMovement(Vector3d.ZERO);
}
}