diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/Firmament.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/Firmament.kt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/Firmament.kt b/src/main/kotlin/moe/nea/firmament/Firmament.kt index ec6cd3e..a375b2d 100644 --- a/src/main/kotlin/moe/nea/firmament/Firmament.kt +++ b/src/main/kotlin/moe/nea/firmament/Firmament.kt @@ -5,6 +5,7 @@ import io.ktor.client.* import io.ktor.client.plugins.* import io.ktor.client.plugins.contentnegotiation.* import io.ktor.serialization.kotlinx.json.* +import java.awt.Taskbar.Feature import java.nio.file.Files import java.nio.file.Path import net.fabricmc.api.ClientModInitializer @@ -70,7 +71,9 @@ object Firmament : ModInitializer, ClientModInitializer { } override fun onInitialize() { + } + override fun onInitializeClient() { dbusConnection.requestBusName("moe.nea.firmament") dbusConnection.exportObject(FirmamentDbusObject) IDataHolder.registerEvents() @@ -85,8 +88,6 @@ object Firmament : ModInitializer, ClientModInitializer { globalJob.cancel() } }) - } - override fun onInitializeClient() { } } |