Skip to content

Commit 634d689

Browse files
committed
fix merge
1 parent 2837f82 commit 634d689

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • src/main/kotlin/com/lambda/module/modules/render

src/main/kotlin/com/lambda/module/modules/render/Freecam.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ object Freecam : Module(
180180
}
181181

182182
listen<PlayerEvent.ChangeLookDirection> {
183-
rotation = rotation.withDelta(it.deltaYaw * SENSITIVITY_FACTOR, it.deltaPitch * SENSITIVITY_FACTOR)
184183
rotation = rotation.withDelta(
185184
it.deltaYaw * SENSITIVITY_FACTOR,
186185
it.deltaPitch * SENSITIVITY_FACTOR
@@ -259,7 +258,6 @@ object Freecam : Module(
259258
}
260259

261260
listen<RenderEvent.UpdateTarget>({ 1 }) { event -> // Higher priority then RotationManager to run before RotationManager modifies mc.crosshairTarget
262-
mc.crosshairTarget = rotation.rayCast(reach, lerpPos).orMiss // Can't be null (otherwise mc will spam "Null returned as 'hitResult', this shouldn't happen!")
263261
mc.crosshairTarget = rotation
264262
.rayCast(reach, lerpPos)
265263
.orMiss // Can't be null (otherwise mc will spam "Null returned as 'hitResult', this shouldn't happen!")

0 commit comments

Comments
 (0)