Skip to content

Commit

Permalink
fix: make blinkutils into listenable
Browse files Browse the repository at this point in the history
  • Loading branch information
opZywl committed Dec 8, 2024
1 parent 3118983 commit 44c818f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/main/java/net/ccbluex/liquidbounce/FDPClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ object FDPClient {
registerListener(WaitTickUtils)
registerListener(SilentHotbar)
registerListener(WaitMsUtils)
registerListener(BlinkUtils)

// Load client fonts
loadFonts()
Expand Down
8 changes: 2 additions & 6 deletions src/main/java/net/ccbluex/liquidbounce/utils/BlinkUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
*/
package net.ccbluex.liquidbounce.utils

import net.ccbluex.liquidbounce.event.EventState
import net.ccbluex.liquidbounce.event.EventTarget
import net.ccbluex.liquidbounce.event.PacketEvent
import net.ccbluex.liquidbounce.event.WorldEvent
import net.ccbluex.liquidbounce.utils.MinecraftInstance.Companion.mc
import net.ccbluex.liquidbounce.event.*
import net.ccbluex.liquidbounce.utils.PacketUtils.sendPacket
import net.ccbluex.liquidbounce.utils.PacketUtils.sendPackets
import net.ccbluex.liquidbounce.utils.misc.RandomUtils
Expand All @@ -24,7 +20,7 @@ import net.minecraft.network.status.client.C00PacketServerQuery
import net.minecraft.network.status.client.C01PacketPing
import net.minecraft.util.Vec3

object BlinkUtils {
object BlinkUtils : MinecraftInstance(), Listenable {

val publicPacket: Packet<*>? = null
val packets = mutableListOf<Packet<*>>()
Expand Down

0 comments on commit 44c818f

Please sign in to comment.