Update launcher/InstanceList.cpp

Co-authored-by: Tayou <git@tayou.org>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
This commit is contained in:
Alexandru Ionut Tripon 2024-07-08 15:04:27 +03:00 committed by GitHub
parent fdcd1068f3
commit aeb7f29a5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -635,7 +635,7 @@ InstancePtr InstanceList::loadInstance(const InstanceId& id)
QString inst_type = instanceSettings->get("InstanceType").toString();
// NOTE: Some PrismMC versions didn't save the InstanceType properly. We will just bank on the probability that this is probably a
// NOTE: Some launcher versions didn't save the InstanceType properly. We will just bank on the probability that this is probably a
// OneSix instance
if (inst_type == "OneSix" || inst_type.isEmpty()) {
inst.reset(new MinecraftInstance(m_globalSettings, instanceSettings, instanceRoot));