From c68ed2049b9ed5a1b22fb7cb7404f9d4ddf74a73 Mon Sep 17 00:00:00 2001 From: Evan Goode Date: Sun, 18 Aug 2024 18:47:23 -0400 Subject: [PATCH] Only prompt for authlib-injector on non-legacy --- launcher/LaunchController.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/launcher/LaunchController.cpp b/launcher/LaunchController.cpp index 951d74a9e..c1610e078 100644 --- a/launcher/LaunchController.cpp +++ b/launcher/LaunchController.cpp @@ -143,9 +143,8 @@ void LaunchController::login() return; } - if (m_accountToUse->usesCustomApiServers()) { - MinecraftInstancePtr inst = std::dynamic_pointer_cast(m_instance); - + MinecraftInstancePtr inst = std::dynamic_pointer_cast(m_instance); + if (m_accountToUse->usesCustomApiServers() && !inst->shouldApplyOnlineFixes()) { bool authlibInjectorInstalled = false; const auto& agents = inst->getPackProfile()->getProfile()->getAgents(); for (const auto& agent : agents) {