From caf64a44f20a5d7f59b85146c8fdffdc4823724c Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 15 Feb 2023 21:44:05 +0100 Subject: [PATCH] fix: don't slow down freecam vertical movement --- src/main/java/ftbsc/bscv/modules/self/Freecam.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }