patch crash no mods folder

This commit is contained in:
marc barbier
2021-01-14 14:25:44 +01:00
parent 3ff34f646b
commit 57003bee2f
2 changed files with 16 additions and 0 deletions
+7
View File
@@ -31,6 +31,13 @@ public class IntegrityChecker {
installedMods = new TreeMap<>();
modsMap.delete();
}
}else {
try {
modsMap.createNewFile();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
try {
ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(modsMap));