mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Remove version yeet
This commit is contained in:
parent
27f9e2ea9f
commit
61037af138
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user