reverted change for optional
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
aa065f2b51
commit
6178e5a975
3 changed files with 3 additions and 3 deletions
|
@ -41,8 +41,7 @@ static Version mcVersion(BaseInstance* inst)
|
|||
|
||||
static ModPlatform::ModLoaderTypes mcLoaders(BaseInstance* inst)
|
||||
{
|
||||
return static_cast<MinecraftInstance*>(inst)->getPackProfile()->getSupportedModLoaders().value_or(
|
||||
ModPlatform::ModLoaderTypes::fromInt(0));
|
||||
return static_cast<MinecraftInstance*>(inst)->getPackProfile()->getSupportedModLoaders().value();
|
||||
}
|
||||
|
||||
GetModDependenciesTask::GetModDependenciesTask(QObject* parent,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue