whitespace

This commit is contained in:
Evan Goode 2024-05-03 17:31:00 -04:00
parent e0796e5260
commit c0dc59ecfb

View File

@ -543,16 +543,16 @@ QString MinecraftInstance::getLauncher()
QStringList MinecraftInstance::processAuthArgs(AuthSessionPtr session) const
{
QStringList args;
QString v = m_components->getProfile()->getMinecraftVersion();
QString v = m_components->getProfile()->getMinecraftVersion();
if (session->uses_custom_api_servers) {
if (v != "1.16.4" && v != "1.16.5") {
if (v != "1.16.4" && v != "1.16.5") {
args << "-Dminecraft.api.env=custom";
args << "-Dminecraft.api.auth.host=" + session->auth_server_url;
args << "-Dminecraft.api.account.host=" + session->account_server_url;
args << "-Dminecraft.api.session.host=" + session->session_server_url;
args << "-Dminecraft.api.services.host=" + session->services_server_url;
}
}
auto agents = m_components->getProfile()->getAgents();
for (auto agent : agents) {
if (agent->library()->artifactPrefix() == "moe.yushi:authlibinjector") {