Merge branch 'client-force-ipv4' into 'master'

Force IPv4 through client

See merge request 2009scape/2009scape!102
This commit is contained in:
Ceikry 2021-07-05 14:48:19 +00:00
commit 47554e5442

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()
}