Skip to content

Commit 0534f68

Browse files
committed
default flip flop mode to none in grim control elytra fly as it works flawlessly now regardless if you have an active firework or not
1 parent 46c9acb commit 0534f68

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/kotlin/com/lambda/module/modules/movement/elytrafly/modes/GrimControlElytraFly.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ class GrimControlElytraFly(
4949
) : ElytraFlyMode(FlyMode.GrimControl) {
5050
private val inventory by c.setting("Inventory", true, "Allow using fireworks from the players inventory")
5151
private val safetyMargin by c.setting("Safety Margin", 0.2, 0.0..2.0, 0.01, "The time (in seconds) to shorten the firework use delay to account for ping variation", "s")
52-
val flipFlopMode by c.setting("Flip Flop Mode", FlipFlopMode.WithFirework)
52+
val flipFlopMode by c.setting("Flip Flop Mode", FlipFlopMode.None)
5353
private val packetGap by c.setting("Packet Gap", 20, 0..100, 1, "The gap between allowing player movement packets to pass") { flipFlopMode != FlipFlopMode.None }
5454

55+
@Suppress("unused")
5556
enum class FlipFlopMode(
5657
override val displayName: String,
5758
val isFlipFlopping: (hasFirework: Boolean) -> Boolean

0 commit comments

Comments
 (0)