Skip to content

Commit

Permalink
fix(ConfigSystem): Load after client initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 committed Feb 24, 2025
1 parent 281c4ef commit b543439
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/main/kotlin/net/ccbluex/liquidbounce/LiquidBounce.kt
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,11 @@ object LiquidBounce : EventListener {
ThemeManager
ComponentOverlay.insertComponents()

// Load config system from disk
ConfigSystem.loadAll()

// Netty WebSocket
ClientInteropServer.start()

// Initialize browser
logger.info("Refresh Rate: ${mc.window.refreshRate} Hz")

IntegrationListener
BrowserManager.initBrowser()

Expand Down Expand Up @@ -296,6 +292,9 @@ object LiquidBounce : EventListener {
tasks?.awaitAll()
tasks = null
}

// Load config system from disk
ConfigSystem.loadAll()
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import net.ccbluex.liquidbounce.features.module.modules.render.ModuleClickGui
import net.ccbluex.liquidbounce.utils.client.logger
import kotlin.time.measureTimedValue

// TODO: Replace with Dynamic Configurable
object ModelHolster : EventListener, Configurable("DeepLearning") {

/**
Expand Down

0 comments on commit b543439

Please sign in to comment.