mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 04:16:57 +03:00
fix: don't take modloaders by reference
Co-authored-by: TheKodeToad <TheKodeToad@proton.me> Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
54a091ca59
commit
2be630904f
1 changed files with 1 additions and 1 deletions
|
|
@ -398,7 +398,7 @@ QStringList MinecraftInstance::extraArguments()
|
|||
}
|
||||
|
||||
{
|
||||
const auto& loaders = version->getModLoaders();
|
||||
const auto loaders = version->getModLoaders();
|
||||
if (loaders.has_value() && loaders.value() & ResourceAPI::Quilt && settings()->get("DisableQuiltBeacon").toBool())
|
||||
list.append("-Dloader.disable_beacon=true");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue