Skip to content

Commit 1725a2c

Browse files
committed
fix: using event when config manager is fully done to initialize
1 parent 11a394e commit 1725a2c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dependencies {
2828
if (bootstrap) {
2929
compileOnly(project(mapOf("path" to ":Parsek")))
3030
} else {
31-
compileOnly("com.github.parsekdev:parsek:v1.0.0-beta.7")
31+
compileOnly("com.github.parsekdev:parsek:v1.0.0-beta.12")
3232
}
3333

3434
compileOnly(kotlin("stdlib-jdk8"))

src/main/kotlin/co/statu/rule/database/event/CoreEventHandler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class CoreEventHandler(
1919
databasePlugin.pluginBeanContext.getBean(DatabaseManager::class.java)
2020
}
2121

22-
override suspend fun onConfigManagerReady(configManager: ConfigManager) {
22+
override suspend fun onConfigManagerDone(configManager: ConfigManager) {
2323
val pluginConfigManager = PluginConfigManager(
2424
databasePlugin,
2525
DatabaseConfig::class.java,

0 commit comments

Comments
 (0)