Fix some configs not being available

This commit is contained in:
embeddedt 2023-05-02 11:18:30 -04:00
parent 87958ff213
commit a29ffb252c
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -157,6 +157,7 @@ public class ModernFixEarlyConfig {
this.configFile = file; this.configFile = file;
this.scanForAndBuildMixinOptions(); this.scanForAndBuildMixinOptions();
mixinOptions.addAll(DEFAULT_SETTING_OVERRIDES.keySet());
for(String optionName : mixinOptions) { for(String optionName : mixinOptions) {
boolean defaultEnabled = DEFAULT_SETTING_OVERRIDES.getOrDefault(optionName, true); boolean defaultEnabled = DEFAULT_SETTING_OVERRIDES.getOrDefault(optionName, true);
this.options.putIfAbsent(optionName, new Option(optionName, defaultEnabled, false)); this.options.putIfAbsent(optionName, new Option(optionName, defaultEnabled, false));