mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 00:07:45 +00:00
Fix scala mods crashing with the json annotation cache.
This commit is contained in:
1 parent
d9a042c775
commit
9cda586ebd
2 files changed
+9
-6
No files matched your search
@@ -54,6 +54,9 @@ public class JsonAnnotationLoader
|
||||
//TODO: Java9 Multi-Release Jars, picking the correct class for the current platform. For now we just ignore them.
|
||||
if (entry.getKey().startsWith("META-INF/"))
|
||||
continue;
|
||||
//TODO: Remove in 1.13, some older mods have these in the entries due to FG issue. Basically filter out scala synthetic class.
|
||||
if (entry.getKey().endsWith("$"))
|
||||
continue;
|
||||
|
||||
ASMInfo asm_info = entry.getValue();
|
||||
if (asm_info.interfaces != null)
|
||||
|
||||
Reference in new issue
Block a user