aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modpacksch/FTBPackInstallTask.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-02-21 22:47:19 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-02-21 22:59:07 +0100
commit624ab25cd490833fa43743137918f7014c9fe376 (patch)
treedfe2474233a382170860fc3f604ca138ce19b753 /launcher/modplatform/modpacksch/FTBPackInstallTask.cpp
parenta70d1f1a9184a9f0506c439be1009e5ba3c77b5b (diff)
downloadPrismLauncher-624ab25cd490833fa43743137918f7014c9fe376.tar.gz
PrismLauncher-624ab25cd490833fa43743137918f7014c9fe376.tar.bz2
PrismLauncher-624ab25cd490833fa43743137918f7014c9fe376.zip
refactor: set default InstanceType to OneSix
Diffstat (limited to 'launcher/modplatform/modpacksch/FTBPackInstallTask.cpp')
-rw-r--r--launcher/modplatform/modpacksch/FTBPackInstallTask.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/launcher/modplatform/modpacksch/FTBPackInstallTask.cpp b/launcher/modplatform/modpacksch/FTBPackInstallTask.cpp
index 03570226..33df6fa4 100644
--- a/launcher/modplatform/modpacksch/FTBPackInstallTask.cpp
+++ b/launcher/modplatform/modpacksch/FTBPackInstallTask.cpp
@@ -181,8 +181,6 @@ void PackInstallTask::install()
auto instanceConfigPath = FS::PathCombine(m_stagingPath, "instance.cfg");
auto instanceSettings = std::make_shared<INISettingsObject>(instanceConfigPath);
instanceSettings->suspendSave();
- instanceSettings->registerSetting("InstanceType", "Legacy");
- instanceSettings->set("InstanceType", "OneSix");
MinecraftInstance instance(m_globalSettings, instanceSettings, m_stagingPath);
auto components = instance.getPackProfile();