Move config to annotation system
All old configs must be deleted for this to work properly. Since the rest
of the update is filled with world breaking changes, this should be fine.
Also some mapping updates
(cherry picked from commit d587a8c
)
This commit is contained in:
parent
a10b2ece9a
commit
d99cf77288
45 changed files with 320 additions and 561 deletions
|
@ -63,7 +63,7 @@ public class MeteorConfigHandler {
|
|||
reader.close();
|
||||
}
|
||||
|
||||
if (checkNewVersion && ConfigHandler.config.getBoolean("resyncOnVersionChange", "Meteors", true, "Should the default meteors be regenerated if the mod has updated them")) {
|
||||
if (checkNewVersion && ConfigHandler.values.shouldResyncMeteors) {
|
||||
Set<String> discoveredDefaults = Sets.newHashSet();
|
||||
|
||||
// Check existing defaults for new version
|
||||
|
@ -93,8 +93,6 @@ public class MeteorConfigHandler {
|
|||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
ConfigHandler.config.save();
|
||||
}
|
||||
|
||||
private static List<Pair<String, Meteor>> getDefaultMeteors() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue