summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}