Only prompt for authlib-injector on non-legacy
This commit is contained in:
parent
30f19a655a
commit
c68ed2049b
@ -143,9 +143,8 @@ void LaunchController::login()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_accountToUse->usesCustomApiServers()) {
|
MinecraftInstancePtr inst = std::dynamic_pointer_cast<MinecraftInstance>(m_instance);
|
||||||
MinecraftInstancePtr inst = std::dynamic_pointer_cast<MinecraftInstance>(m_instance);
|
if (m_accountToUse->usesCustomApiServers() && !inst->shouldApplyOnlineFixes()) {
|
||||||
|
|
||||||
bool authlibInjectorInstalled = false;
|
bool authlibInjectorInstalled = false;
|
||||||
const auto& agents = inst->getPackProfile()->getProfile()->getAgents();
|
const auto& agents = inst->getPackProfile()->getProfile()->getAgents();
|
||||||
for (const auto& agent : agents) {
|
for (const auto& agent : agents) {
|
||||||
|
Loading…
Reference in New Issue
Block a user