Remove dead code in JarDiscoverer. Closes #2346

This commit is contained in:
LexManos committed 2016-01-10 11:06:37 -08:00
1 parent 4dbf1965df
commit 76c40896e4
1 file changed
-5
@@ -42,11 +42,6 @@ public class JarDiscoverer implements ITypeDiscoverer
{
jar = new JarFile(candidate.getModContainer());
if (jar.getManifest()!=null && (jar.getManifest().getMainAttributes().get("FMLCorePlugin") != null || jar.getManifest().getMainAttributes().get("TweakClass") != null))
{
FMLLog.finer("Ignoring coremod or tweak system %s", candidate.getModContainer());
return foundMods;
}
ZipEntry modInfo = jar.getEntry("mcmod.info");
MetadataCollection mc = null;
if (modInfo != null)