diff --git a/server/core/src/main/java/dev/slimevr/Keybinding.kt b/server/core/src/main/java/dev/slimevr/Keybinding.kt index fc015f1b1..fdc24454d 100644 --- a/server/core/src/main/java/dev/slimevr/Keybinding.kt +++ b/server/core/src/main/java/dev/slimevr/Keybinding.kt @@ -5,9 +5,10 @@ import com.melloware.jintellitype.JIntellitype import dev.slimevr.config.KeybindingsConfig import io.eiren.util.OperatingSystem import io.eiren.util.OperatingSystem.Companion.currentPlatform +import io.eiren.util.ann.AWTThread import io.eiren.util.logging.LogManager -class Keybinding(val server: VRServer) : HotkeyListener { +class Keybinding @AWTThread constructor(val server: VRServer) : HotkeyListener { val config: KeybindingsConfig = server.configManager.vrConfig.keybindings init {