Added loaders check on versions load
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
f8f9ffa118
commit
e6ba2f4970
20 changed files with 89 additions and 89 deletions
|
@ -41,7 +41,8 @@ static Version mcVersion(BaseInstance* inst)
|
|||
|
||||
static ModPlatform::ModLoaderTypes mcLoaders(BaseInstance* inst)
|
||||
{
|
||||
return static_cast<MinecraftInstance*>(inst)->getPackProfile()->getModLoaders().value();
|
||||
return static_cast<MinecraftInstance*>(inst)->getPackProfile()->getSupportedModLoaders().value_or(
|
||||
ModPlatform::ModLoaderTypes::fromInt(0));
|
||||
}
|
||||
|
||||
GetModDependenciesTask::GetModDependenciesTask(QObject* parent,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue