aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modpacksch/FTBPackInstallTask.cpp
diff options
context:
space:
mode:
authorEzekiel Smith <ezekielsmith@protonmail.com>2022-02-26 01:54:15 +1100
committerGitHub <noreply@github.com>2022-02-26 01:54:15 +1100
commitccc27d1b7c8207580975122ad70f0f5687c4fffd (patch)
treea4400e377be735c4cf85f66e4a02e4f342f2f92f /launcher/modplatform/modpacksch/FTBPackInstallTask.cpp
parent9e35560554eb089370ba487e5b6265b4bd8e739a (diff)
parent624ab25cd490833fa43743137918f7014c9fe376 (diff)
downloadPrismLauncher-ccc27d1b7c8207580975122ad70f0f5687c4fffd.tar.gz
PrismLauncher-ccc27d1b7c8207580975122ad70f0f5687c4fffd.tar.bz2
PrismLauncher-ccc27d1b7c8207580975122ad70f0f5687c4fffd.zip
Merge pull request #192 from Scrumplex/refactor-remove-legacy-instances
Drop legacy instances
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();