diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-21 22:47:19 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-21 22:59:07 +0100 |
commit | 624ab25cd490833fa43743137918f7014c9fe376 (patch) | |
tree | dfe2474233a382170860fc3f604ca138ce19b753 /launcher/InstanceImportTask.cpp | |
parent | a70d1f1a9184a9f0506c439be1009e5ba3c77b5b (diff) | |
download | PrismLauncher-624ab25cd490833fa43743137918f7014c9fe376.tar.gz PrismLauncher-624ab25cd490833fa43743137918f7014c9fe376.tar.bz2 PrismLauncher-624ab25cd490833fa43743137918f7014c9fe376.zip |
refactor: set default InstanceType to OneSix
Diffstat (limited to 'launcher/InstanceImportTask.cpp')
-rw-r--r-- | launcher/InstanceImportTask.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/launcher/InstanceImportTask.cpp b/launcher/InstanceImportTask.cpp index ec378538..6dd615c7 100644 --- a/launcher/InstanceImportTask.cpp +++ b/launcher/InstanceImportTask.cpp @@ -261,8 +261,6 @@ void InstanceImportTask::processFlame() QString configPath = FS::PathCombine(m_stagingPath, "instance.cfg"); auto instanceSettings = std::make_shared<INISettingsObject>(configPath); - instanceSettings->registerSetting("InstanceType", "Legacy"); - instanceSettings->set("InstanceType", "OneSix"); MinecraftInstance instance(m_globalSettings, instanceSettings, m_stagingPath); auto mcVersion = pack.minecraft.version; // Hack to correct some 'special sauce'... @@ -422,7 +420,6 @@ void InstanceImportTask::processMultiMC() { QString configPath = FS::PathCombine(m_stagingPath, "instance.cfg"); auto instanceSettings = std::make_shared<INISettingsObject>(configPath); - instanceSettings->registerSetting("InstanceType", "Legacy"); NullInstance instance(m_globalSettings, instanceSettings, m_stagingPath); |