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