Skip to content

Commit 558b554

Browse files
committed
fix name
1 parent b146577 commit 558b554

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/com/lambda/module/modules/movement/ElytraAttitudeControl.kt renamed to src/main/kotlin/com/lambda/module/modules/movement/ElytraAltitudeControl.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import net.minecraft.util.math.Vec3d
3838
import kotlin.time.Duration.Companion.seconds
3939
import kotlin.time.TimeSource
4040

41-
object ElytraAttitudeControl : Module(
41+
object ElytraAltitudeControl : Module(
4242
name = "ElytraAttitudeControl",
4343
description = "Automatically control attitude or speed while elytra flying",
4444
tag = ModuleTag.MOVEMENT,
@@ -114,7 +114,7 @@ object ElytraAttitudeControl : Module(
114114
-1 * altitudeController.getOutput(targetAltitude.toDouble(), player.y) // Negative because in minecraft pitch > 0 is looking down not up
115115
}
116116
}.coerceIn(-maxPitchAngle, maxPitchAngle)
117-
lookAt(Rotation(player.yaw, outputPitch.toFloat())).requestBy(this@ElytraAttitudeControl)
117+
lookAt(Rotation(player.yaw, outputPitch.toFloat())).requestBy(this@ElytraAltitudeControl)
118118

119119
if (usageDelay.timePassed(2.seconds) && !player.hasFirework) {
120120
if (useFireworkOnHeight && minHeight > player.y) {

0 commit comments

Comments
 (0)