We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c653c4 commit 1e4ce31Copy full SHA for 1e4ce31
1 file changed
src/main/kotlin/com/lambda/module/modules/movement/elytrafly/modes/BounceElytraFly.kt
@@ -176,14 +176,16 @@ class BounceElytraFly(
176
listen<MovementEvent.InputUpdate> { event ->
177
val input = event.input
178
val playerInput = input.playerInput
179
+ val sneak = player.velocity.horizontal.length() > 0.001 || !player.isSneaking
180
+
181
if (sneakLeft || sneakRight) {
182
input.playerInput = PlayerInput(
183
playerInput.forward,
184
playerInput.backward,
185
sneakLeft,
186
sneakRight,
187
playerInput.jump,
- true,
188
+ sneak,
189
false
190
)
191
input.movementVector = Vec2f(
0 commit comments