9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 18:49:06 +00:00
This commit is contained in:
Daniel Mills
2021-07-20 13:28:17 -04:00
parent 6948d70d94
commit fc47651c33
2 changed files with 10 additions and 1 deletions

View File

@@ -321,7 +321,14 @@ public class IO {
}
public static void writeAll(File f, Object c) throws IOException {
f.getParentFile().mkdirs();
try {
f.getParentFile().mkdirs();
}
catch(Throwable ignored)
{
}
PrintWriter pw = new PrintWriter(new FileWriter(f));
pw.println(c.toString());
pw.close();