Close jar when no fabric-installer.json found

This commit is contained in:
modmuss50 2018-12-22 22:19:26 +00:00
parent 4c625b45bc
commit 8d326da8be

View file

@ -138,6 +138,7 @@ public class ModProcessor {
entry = jarFile.getEntry("fabric-installer.json");
priority = 1;
if (entry == null) {
jarFile.close();
return;
}
}