mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 08:44:25 +00:00
Fix coremods without a manifest crashing the game. Closes #181
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user