fix: don't take modloaders by reference
Co-authored-by: TheKodeToad <TheKodeToad@proton.me> Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net> (cherry picked from commit 2be630904f89c9308d3e0bab94eb9e5a4fa6ae03)
This commit is contained in:
parent
f7e018d41a
commit
eaf125c31a
@ -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())
|
if (loaders.has_value() && loaders.value() & ResourceAPI::Quilt && settings()->get("DisableQuiltBeacon").toBool())
|
||||||
list.append("-Dloader.disable_beacon=true");
|
list.append("-Dloader.disable_beacon=true");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user