mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +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)
|
||||
{
|
||||
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