mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Close the jar, for cleanliness sake
This commit is contained in:
1 parent
12f66bdc86
commit
4e8668c922
1 file changed
+1
@@ -53,6 +53,7 @@ public class JarDiscoverer implements ITypeDiscoverer
|
||||
catch (LoaderException e)
|
||||
{
|
||||
FMLLog.log(Level.SEVERE, e, "There was a problem reading the entry %s in the jar %s - probably a corrupt zip", ze.getName(), candidate.getModContainer().getPath());
|
||||
jar.close();
|
||||
throw e;
|
||||
}
|
||||
modParser.validate();
|
||||
|
||||
Reference in new issue
Block a user