refactor: set default InstanceType to OneSix

This commit is contained in:
Sefa Eyeoglu
2022-02-21 22:47:19 +01:00
parent a70d1f1a91
commit 624ab25cd4
9 changed files with 2 additions and 15 deletions

View File

@ -122,8 +122,6 @@ void PackInstallTask::install()
QString 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();