mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-23 17:19:16 +00:00
Fix compat file loading error by creating prior
This commit is contained in:
@@ -150,6 +150,10 @@ public class Iris extends VolmitPlugin
|
||||
public void onEnable()
|
||||
{
|
||||
instance = this;
|
||||
if (!new File("compat.json").exists()) {
|
||||
msg("Creating Compat file.")
|
||||
new File("compat.json").createNewFile();
|
||||
}
|
||||
compat = IrisCompat.configured(getDataFile("compat.json"));
|
||||
proj = new ProjectManager();
|
||||
convert = new ConversionManager();
|
||||
|
||||
Reference in New Issue
Block a user