Skip to content

Commit

Permalink
Only prompt for authlib-injector on non-legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-goode committed Aug 29, 2024
1 parent 30f19a6 commit c68ed20
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions launcher/LaunchController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,8 @@ void LaunchController::login()
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;
const auto& agents = inst->getPackProfile()->getProfile()->getAgents();
for (const auto& agent : agents) {
Expand Down

0 comments on commit c68ed20

Please sign in to comment.