Skip to content

Commit 417bd0a

Browse files
committed
Cleanup
1 parent 9dfa11d commit 417bd0a

File tree

1 file changed

+1
-2
lines changed
  • common/src/main/kotlin/com/lambda/module/modules/player

1 file changed

+1
-2
lines changed

common/src/main/kotlin/com/lambda/module/modules/player/Freecam.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,13 @@ object Freecam : Module(
6565

6666
@JvmStatic fun updateTarget() {
6767
runSafe {
68-
val cast = rayCast(
68+
mc.crosshairTarget = rayCast(
6969
interpolatedPosition,
7070
interpolatedRotation.vector,
7171
interaction.reachDistance.toDouble(),
7272
RayCastMask.BOTH,
7373
true
7474
)
75-
mc.crosshairTarget = cast
7675
}
7776
}
7877

0 commit comments

Comments
 (0)