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()); } catch (SecurityException se) { throw new RuntimeException("FML was unable to install the security manager. The game will not start", se); } }