diff options
author | Linnea Gräf <nea@nea.moe> | 2024-04-01 01:47:15 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-04-01 01:47:15 +0200 |
commit | e098482faafe1149731e5068202668bb370ffca7 (patch) | |
tree | e34ad6ddaaace72e44b53a27b6a37008374c8a04 /src/main/kotlin/moe/nea/firmament/Firmament.kt | |
parent | a84da715497215848797719fe528c2f5c1d4aed3 (diff) | |
download | firmament-e098482faafe1149731e5068202668bb370ffca7.tar.gz firmament-e098482faafe1149731e5068202668bb370ffca7.tar.bz2 firmament-e098482faafe1149731e5068202668bb370ffca7.zip |
Bump Kotlin version
[no changelog]
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/Firmament.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/Firmament.kt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/Firmament.kt b/src/main/kotlin/moe/nea/firmament/Firmament.kt index 5fd9f60..a0549fd 100644 --- a/src/main/kotlin/moe/nea/firmament/Firmament.kt +++ b/src/main/kotlin/moe/nea/firmament/Firmament.kt @@ -34,7 +34,6 @@ import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Job import kotlinx.coroutines.SupervisorJob import kotlinx.coroutines.plus -import kotlinx.coroutines.runBlocking import kotlinx.serialization.json.Json import kotlin.coroutines.EmptyCoroutineContext import net.minecraft.command.CommandRegistryAccess @@ -134,10 +133,8 @@ object Firmament { HypixelStaticData.spawnDataCollectionLoop() ClientCommandRegistrationCallback.EVENT.register(this::registerCommands) ClientLifecycleEvents.CLIENT_STOPPING.register(ClientLifecycleEvents.ClientStopping { - runBlocking { - logger.info("Shutting down NEU coroutines") - globalJob.cancel() - } + logger.info("Shutting down Firmament coroutines") + globalJob.cancel() }) registerFirmamentEvents() ItemTooltipCallback.EVENT.register { a, b, c -> |