Commit 1c6b9c789433306a23ce51c2d91913f3ff81f037

Authored by Mumfrey
1 parent 08e82e39

definitely fix Forge compatibility, totally for real this time

java/common/com/mumfrey/liteloader/launch/LiteLoaderTweaker.java
@@ -213,7 +213,9 @@ public class LiteLoaderTweaker implements ITweaker @@ -213,7 +213,9 @@ public class LiteLoaderTweaker implements ITweaker
213 @Override 213 @Override
214 public void acceptOptions(List<String> args, File gameDirectory, File assetsDirectory, String profile) 214 public void acceptOptions(List<String> args, File gameDirectory, File assetsDirectory, String profile)
215 { 215 {
  216 + Launch.classLoader.addClassLoaderExclusion("org.apache.");
216 Launch.classLoader.addClassLoaderExclusion("com.google.common."); 217 Launch.classLoader.addClassLoaderExclusion("com.google.common.");
  218 + Launch.classLoader.addClassLoaderExclusion("org.objectweb.asm.");
217 LiteLoaderTweaker.instance = this; 219 LiteLoaderTweaker.instance = this;
218 220
219 this.onPrepare(args, gameDirectory, assetsDirectory, profile); 221 this.onPrepare(args, gameDirectory, assetsDirectory, profile);