Remove getRawConfig

This commit is contained in:
yushijinhun 2018-07-17 18:56:07 +08:00
parent 846f383f7b
commit a6a1755fee
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4
2 changed files with 1 additions and 5 deletions

View File

@ -423,8 +423,4 @@ public class Settings {
public void onAccountLoading() {
EventBus.EVENT_BUS.fireEvent(new AccountLoadingEvent(this, getAccounts()));
}
public Config getRawConfig() {
return ConfigHolder.CONFIG.clone();
}
}

View File

@ -81,7 +81,7 @@ public final class ExportWizardProvider implements WizardProvider {
boolean flag = true;
try (ZipEngine zip = new ZipEngine(modpackFile)) {
Config config = Settings.INSTANCE.getRawConfig();
Config config = ConfigHolder.CONFIG.clone();
config.hasProxy.set(false);
config.selectedProfile.set("");