diff --git a/Client/src/main/kotlin/org/rs09/client/GameLaunch.kt b/Client/src/main/kotlin/org/rs09/client/GameLaunch.kt index 77f6cee72..43f978430 100644 --- a/Client/src/main/kotlin/org/rs09/client/GameLaunch.kt +++ b/Client/src/main/kotlin/org/rs09/client/GameLaunch.kt @@ -26,9 +26,6 @@ object GameLaunch { GameConfig.parse(GameConfig.configLocation) GameConfig.implementHoliday() GameConfig.extendRenderDistance() - if(System.getProperty("os.name").toLowerCase().contains("nux")){ //Fixes crashing due to XInitThreads not being called - JVM bug - System.load(javaClass.classLoader.getResource("libfixXInitThreads.so")!!.file) - } } catch (e: Exception){ GameConfig.IP_ADDRESS = "play.2009scape.org" GameConfig.IP_MANAGEMENT = "play.2009scape.org" @@ -46,6 +43,9 @@ object GameLaunch { /** * Launches the client */ + if(System.getProperty("os.name").toLowerCase().contains("nux")){ //Fixes crashing due to XInitThreads not being called - JVM bug + System.load(javaClass.classLoader.getResource("libfixXInitThreads.so")!!.file) + } GameShell.launchDesktop() }