Force preferIPv4Stack to true early in the load chain to combat netty loopback issues.
This commit is contained in:
parent
e7087fcc48
commit
d969137b19
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue