Skip to content

Commit

Permalink
Update HypixelBlinkNofall.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
C00LC0D35 authored Dec 5, 2023
1 parent da74e5c commit ba475d5
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import net.minecraft.network.play.client.C03PacketPlayer
import net.ccbluex.liquidbounce.utils.BlinkUtils

class HypixelBlinkNofall : NoFallMode("HypixelBlink") {
val blink = LiquidBounce.moduleManager[Blink::class.java]!!

private var enabled = false

Expand All @@ -19,10 +18,10 @@ class HypixelBlinkNofall : NoFallMode("HypixelBlink") {
if (mc.thePlayer.fallDistance > 1.5) {
if (!enabled) {
BlinkUtils.setBlinkState(all = true)
enabed = true
enabled = true
}
} else {
enbaed = false
enabled = false
}
if(enabled && event.packet is C03PacketPlayer) {
event.packet.onGround = true
Expand Down

0 comments on commit ba475d5

Please sign in to comment.