mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-19 08:46:09 -04:00
Remove getRawConfig
This commit is contained in:
parent
846f383f7b
commit
a6a1755fee
@ -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("");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user