Skip to content

Commit

Permalink
Update Flight.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Aspw-w committed Mar 14, 2024
1 parent 2d8420b commit 186d34e
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,14 @@ class Flight : Module() {
.equals("bugspartan", ignoreCase = true) || modeValue.get()
.equals("keepalive", ignoreCase = true) || modeValue.get().equals("pearl", ignoreCase = true)
}
private val sprintVanillaBoostValue = BoolValue("SprintKey-SpeedBoost", false)
private val sprintVanillaBoostValue = BoolValue("SprintKey-SpeedBoost", false) {
modeValue.get().equals("motion", ignoreCase = true) || modeValue.get()
.equals("noclip", ignoreCase = true) || modeValue.get()
.equals("blockdrop", ignoreCase = true) || modeValue.get()
.equals("desync", ignoreCase = true) || modeValue.get()
.equals("bugspartan", ignoreCase = true) || modeValue.get()
.equals("keepalive", ignoreCase = true) || modeValue.get().equals("pearl", ignoreCase = true)
}
private val sprintVanillaAmountValue = FloatValue("SprintKey-SpeedAmount", 1.3f, 0.1f, 5f) {
sprintVanillaBoostValue.get() && (modeValue.get().equals("motion", ignoreCase = true) || modeValue.get()
.equals("noclip", ignoreCase = true) || modeValue.get()
Expand Down

0 comments on commit 186d34e

Please sign in to comment.