Force preferIPv4Stack to true early in the load chain to combat netty loopback issues.

This commit is contained in:
Lex Manos 2014-07-07 09:29:34 -07:00
parent e7087fcc48
commit d969137b19
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ public class FMLTweaker implements ITweaker {
public FMLTweaker()
{
System.setProperty("java.net.preferIPv4Stack", "true"); //Lets do this as early as possible. Vanilla does it in Main.main
try
{
System.setSecurityManager(new FMLSecurityManager());