aboutsummaryrefslogtreecommitdiff
path: root/launcher/InstanceCreationTask.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/InstanceCreationTask.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/InstanceCreationTask.cpp')
-rw-r--r--launcher/InstanceCreationTask.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/launcher/InstanceCreationTask.cpp b/launcher/InstanceCreationTask.cpp
index eafc5126..4c37bd7f 100644
--- a/launcher/InstanceCreationTask.cpp
+++ b/launcher/InstanceCreationTask.cpp
@@ -17,8 +17,6 @@ void InstanceCreationTask::executeTask()
{
auto instanceSettings = std::make_shared<INISettingsObject>(FS::PathCombine(m_stagingPath, "instance.cfg"));
instanceSettings->suspendSave();
- instanceSettings->registerSetting("InstanceType", "Legacy");
- instanceSettings->set("InstanceType", "OneSix");
MinecraftInstance inst(m_globalSettings, instanceSettings, m_stagingPath);
auto components = inst.getPackProfile();
components->buildingFromScratch();