mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-25 06:24:43 +00:00
Force preferIPv4Stack to true early in the load chain to combat netty loopback issues.
This commit is contained in:
1 parent
e7087fcc48
commit
d969137b19
1 file changed
+1
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user