Force IPv4 through client

This commit is contained in:
ceikry 2021-07-05 09:47:42 -05:00
parent 4f963b48ab
commit ef5e8182e9

View file

@ -63,6 +63,10 @@ object GameLaunch {
System.load(temp.absolutePath)
}
//Force IPv4 because sometimes Windows insists on using IPv6 regardless of what a service actually offers
System.setProperty("java.net.preferIPv4Stack" , "true");
GameShell.launchDesktop()
}