Skip to content

Commit c408288

Browse files
authored
Flight -> Static patch (#464)
1 parent c9e2045 commit c408288

File tree

1 file changed

+2
-2
lines changed
  • src/main/kotlin/com/lambda/client/module/modules/movement

1 file changed

+2
-2
lines changed

Diff for: src/main/kotlin/com/lambda/client/module/modules/movement/Flight.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ object Flight : Module(
232232
return@safeListener
233233

234234
val yaw = calcMoveYaw()
235-
player.motionX -= sin(yaw) * speed
236-
player.motionZ += cos(yaw) * speed
235+
player.motionX = -sin(yaw) * speed
236+
player.motionZ = cos(yaw) * speed
237237

238238
}
239239
FlightMode.VANILLA -> {

0 commit comments

Comments
 (0)