mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 11:05:40 +00:00
Close the jar, for cleanliness sake
This commit is contained in:
1 parent
58e6dd9794
commit
d7a74d84ea
1 file changed
+1
@@ -53,6 +53,7 @@ public class JarDiscoverer implements ITypeDiscoverer
|
|||||||
catch (LoaderException e)
|
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());
|
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;
|
throw e;
|
||||||
}
|
}
|
||||||
modParser.validate();
|
modParser.validate();
|
||||||
|
|||||||
Reference in new issue
Block a user