Skip to content

Commit 4426f07

Browse files
committed
🐛 修复 FGateBukkit 和 FGateClient 的代码格式问题,优化构建配置
1 parent 80398cd commit 4426f07

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

bukkit/src/main/kotlin/org/crashvibe/FGateBukkit/FGateBukkit.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ class FGateBukkit : JavaPlugin() {
1818
override fun onLoad() {
1919
instance = this
2020
Metrics(this, 26997)
21+
FGateClient.init(File(dataFolder, "config.yml").toPath(), logger)
2122
}
2223

2324
override fun onEnable() {
24-
FGateClient.init(File(dataFolder, "config.yml").toPath(), logger)
2525
RequestDispatcher.registerHandler(
2626
GetClientInfo(
2727
GetClientInfo.ClientInfo(

common/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ repositories {
1414
dependencies {
1515
implementation("de.exlll:configlib-yaml:4.6.1")
1616
implementation("org.java-websocket:Java-WebSocket:1.6.0")
17-
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
1817
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2")
1918
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0")
2019
}

common/src/main/kotlin/org/crashvibe/FGateClient/FGateClient.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ object FGateClient {
3636
}
3737
pluginScope.cancelAll()
3838
}
39-
4039
}
4140

4241

0 commit comments

Comments
 (0)