Skip to content

Commit f1c78e1

Browse files
committed
Update setting descriptions
1 parent 4a96e37 commit f1c78e1

File tree

1 file changed

+5
-5
lines changed
  • src/main/kotlin/com/lambda/module/modules/player

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ object Freecam : Module(
5353
tag = ModuleTag.PLAYER,
5454
autoDisable = true,
5555
) {
56-
private val speed by setting("Speed", 0.5, 0.1..1.0, 0.1)
56+
private val speed by setting("Speed", 0.5, 0.1..1.0, 0.1, "Freecam movement speed", unit = "m/s")
5757
private val sprint by setting("Sprint Multiplier", 3.0, 0.1..10.0, 0.1, description = "Set below 1.0 to fly slower on sprint.")
5858
private val reach by setting("Reach", 10.0, 1.0..100.0, 1.0, "Freecam reach distance")
5959
private val rotateMode by setting("Rotate Mode", FreecamRotationMode.None, "Rotation mode")
@@ -159,9 +159,9 @@ object Freecam : Module(
159159
}
160160
}
161161

162-
enum class FreecamRotationMode {
163-
None,
164-
LookAtTarget,
165-
KeepRotation
162+
enum class FreecamRotationMode(override val displayName: String, override val description: String) : NamedEnum, Describable {
163+
None("None", "No rotation changes"),
164+
LookAtTarget("Look At Target", "Look at the block or entity under your crosshair"),
165+
KeepRotation("Keep Rotation", "Look in the same direction as the camera");
166166
}
167167
}

0 commit comments

Comments
 (0)