Skip to content

Commit 02501f5

Browse files
committed
nit
1 parent 8f7ead0 commit 02501f5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/kotlin/com/lambda/module/modules/player/RotationLock.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ import com.lambda.util.NamedEnum
2929
import kotlin.math.roundToInt
3030

3131
object RotationLock : Module(
32-
"RotationLock",
33-
"Locks the player rotation to the given configuration",
34-
ModuleTag.PLAYER
32+
name = "RotationLock",
33+
description = "Locks the player rotation to the given configuration",
34+
tag = ModuleTag.PLAYER,
3535
) {
3636
private enum class Group(override val displayName: String) : NamedEnum {
3737
General("General"),
@@ -67,7 +67,7 @@ object RotationLock : Module(
6767
RotationMode.None -> player.pitch.toDouble()
6868
}
6969

70-
rotationRequest = RotationRequest(lookAt(Rotation(yaw, pitch), 0.001), rotationSettings).submit()
70+
RotationRequest(lookAt(Rotation(yaw, pitch), 0.001), rotationSettings).submit()
7171
}
7272
}
7373

@@ -76,4 +76,4 @@ object RotationLock : Module(
7676
Custom,
7777
None
7878
}
79-
}
79+
}

0 commit comments

Comments
 (0)