Commit fc78211e80f8672e563264eb363c234abc155418
1 parent
3e955ef1
add guava to classLoader exclusions to prevent cross-classLoader issues when running with FML
Showing
1 changed file
with
2 additions
and
0 deletions
java/common/com/mumfrey/liteloader/launch/LiteLoaderTweaker.java
@@ -211,6 +211,8 @@ public class LiteLoaderTweaker implements ITweaker | @@ -211,6 +211,8 @@ public class LiteLoaderTweaker implements ITweaker | ||
211 | @Override | 211 | @Override |
212 | public void acceptOptions(List<String> args, File gameDirectory, File assetsDirectory, String profile) | 212 | public void acceptOptions(List<String> args, File gameDirectory, File assetsDirectory, String profile) |
213 | { | 213 | { |
214 | + Launch.classLoader.addClassLoaderExclusion("com.google.common."); | ||
215 | + | ||
214 | LiteLoaderTweaker.instance = this; | 216 | LiteLoaderTweaker.instance = this; |
215 | 217 | ||
216 | this.initArgs(args, gameDirectory, assetsDirectory); | 218 | this.initArgs(args, gameDirectory, assetsDirectory); |