Close jar when no fabric-installer.json found

dev/0.11
modmuss50 2018-12-22 22:19:26 +00:00
parent 4c625b45bc
commit 8d326da8be
1 changed files with 1 additions and 0 deletions

View File

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