Skip to content

Commit

Permalink
supervisor jobbers
Browse files Browse the repository at this point in the history
  • Loading branch information
SubAt0m1c committed Jan 2, 2025
1 parent f5307e1 commit 7fe1dc9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main/kotlin/me/odinmain/OdinMain.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package me.odinmain

import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
import kotlinx.coroutines.*
import me.odinmain.commands.impl.*
import me.odinmain.commands.registerCommands
import me.odinmain.config.Config
Expand Down Expand Up @@ -44,7 +41,7 @@ object OdinMain {
val mc: Minecraft = Minecraft.getMinecraft()

const val VERSION = "@VER@"
val scope = CoroutineScope(EmptyCoroutineContext)
val scope = CoroutineScope(SupervisorJob() + EmptyCoroutineContext)
val logger: Logger = LogManager.getLogger("Odin")

var display: GuiScreen? = null
Expand Down

0 comments on commit 7fe1dc9

Please sign in to comment.