mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Fix compat error
This commit is contained in:
parent
11a484714a
commit
4e670f85f5
@ -150,14 +150,18 @@ public class Iris extends VolmitPlugin
|
||||
{
|
||||
instance = this;
|
||||
if (!new File("compat.json").exists()) {
|
||||
msg("Creating Compat file.");
|
||||
msg("Creating Compat file");
|
||||
try {
|
||||
new File("compat.json").createNewFile();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
msg("Could not forcefully initiate Compat");
|
||||
}
|
||||
}
|
||||
compat = IrisCompat.configured(getDataFile("compat.json"));
|
||||
try {
|
||||
compat = IrisCompat.configured(getDataFile("compat.json"));
|
||||
} catch (Exception e) {
|
||||
msg("Could not find Compat file despite forceful initiation");
|
||||
}
|
||||
proj = new ProjectManager();
|
||||
convert = new ConversionManager();
|
||||
wand = new WandManager();
|
||||
|
Loading…
x
Reference in New Issue
Block a user