Fix crash when EnumHelper can't find $VALUES field, log info, and return gracefully.

This commit is contained in:
LexManos committed 2013-03-12 18:42:43 -07:00
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");
}
}