mirror of
https://github.com/barkeser2002/Tenet.git
synced 2026-09-25 11:26:10 +03:00
14 lines
596 B
Diff
14 lines
596 B
Diff
--- ../src-base/minecraft/cpw/mods/fml/common/launcher/FMLTweaker.java
|
|
+++ ../src-work/minecraft/cpw/mods/fml/common/launcher/FMLTweaker.java
|
|
@@ -32,7 +32,9 @@
|
|
System.setProperty("java.net.preferIPv4Stack", "true"); //Lets do this as early as possible. Vanilla does it in Main.main
|
|
try
|
|
{
|
|
- System.setSecurityManager(new FMLSecurityManager());
|
|
+ FMLSecurityManager sm = new FMLSecurityManager();
|
|
+ sm.defman = System.getSecurityManager();
|
|
+ System.setSecurityManager(sm);
|
|
}
|
|
catch (SecurityException se)
|
|
{
|