Remove getRawConfig
This commit is contained in:
@@ -423,8 +423,4 @@ public class Settings {
|
|||||||
public void onAccountLoading() {
|
public void onAccountLoading() {
|
||||||
EventBus.EVENT_BUS.fireEvent(new AccountLoadingEvent(this, getAccounts()));
|
EventBus.EVENT_BUS.fireEvent(new AccountLoadingEvent(this, getAccounts()));
|
||||||
}
|
}
|
||||||
|
|
||||||
public Config getRawConfig() {
|
|
||||||
return ConfigHolder.CONFIG.clone();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ public final class ExportWizardProvider implements WizardProvider {
|
|||||||
boolean flag = true;
|
boolean flag = true;
|
||||||
|
|
||||||
try (ZipEngine zip = new ZipEngine(modpackFile)) {
|
try (ZipEngine zip = new ZipEngine(modpackFile)) {
|
||||||
Config config = Settings.INSTANCE.getRawConfig();
|
Config config = ConfigHolder.CONFIG.clone();
|
||||||
|
|
||||||
config.hasProxy.set(false);
|
config.hasProxy.set(false);
|
||||||
config.selectedProfile.set("");
|
config.selectedProfile.set("");
|
||||||
|
|||||||
Reference in New Issue
Block a user