Fix coremods without a manifest crashing the game. Closes #181

This commit is contained in:
Christian committed 2013-03-10 01:05:31 -05:00
1 parent ca2d8bd834
commit 29edd242cd
1 file changed
+5
@@ -354,6 +354,11 @@ public class RelaunchLibraryManager
try
{
jar = new JarFile(coreMod);
if (jar.getManifest() == null)
{
FMLRelaunchLog.warning("Found an un-manifested jar file in the coremods folder : %s, it will be ignored.", coreMod.getName());
continue;
}
mfAttributes = jar.getManifest().getMainAttributes();
}
catch (IOException ioe)