mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +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;
|
instance = this;
|
||||||
if (!new File("compat.json").exists()) {
|
if (!new File("compat.json").exists()) {
|
||||||
msg("Creating Compat file.");
|
msg("Creating Compat file");
|
||||||
try {
|
try {
|
||||||
new File("compat.json").createNewFile();
|
new File("compat.json").createNewFile();
|
||||||
} catch (IOException e) {
|
} 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();
|
proj = new ProjectManager();
|
||||||
convert = new ConversionManager();
|
convert = new ConversionManager();
|
||||||
wand = new WandManager();
|
wand = new WandManager();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user