mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 22:32:04 +00:00
Remove version yeet
This commit is contained in:
@@ -127,16 +127,6 @@ public class IrisSettings {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (settings.getConfigurationVersion() != new IrisSettings().getConfigurationVersion()) {
|
|
||||||
Iris.error("Existing configuration's version does not match current configuration version! Resetting...");
|
|
||||||
if (s.renameTo(new File(s.getParentFile().getAbsolutePath() + "/settings-old.json"))) {
|
|
||||||
Iris.info("Renamed settings.json to settings-old.json");
|
|
||||||
}
|
|
||||||
settings = new IrisSettings();
|
|
||||||
settings.forceSave();
|
|
||||||
Iris.info("Created a new settings file");
|
|
||||||
}
|
|
||||||
|
|
||||||
return settings;
|
return settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user