mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix crash when EnumHelper can't find $VALUES field, log info, and return gracefully.
This commit is contained in:
1 parent
40e7798d1e
commit
31b908473d
2 files changed
+38
-5
No files matched your search
@@ -6,6 +6,8 @@ import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
|
||||
|
||||
public class FMLForgePlugin implements IFMLLoadingPlugin
|
||||
{
|
||||
public static boolean RUNTIME_DEOBF = false;
|
||||
|
||||
@Override
|
||||
public String[] getLibraryRequestClass()
|
||||
{
|
||||
@@ -36,5 +38,6 @@ public class FMLForgePlugin implements IFMLLoadingPlugin
|
||||
@Override
|
||||
public void injectData(Map<String, Object> data)
|
||||
{
|
||||
RUNTIME_DEOBF = (Boolean)data.get("runtimeDeobfuscationEnabled");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user