From fde2f4afe92fcbf194259a5bc9750ba338616659 Mon Sep 17 00:00:00 2001 From: TheKodeToad Date: Mon, 10 Mar 2025 12:44:44 +0000 Subject: [PATCH] Fix mistakes Signed-off-by: TheKodeToad --- launcher/LaunchController.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/launcher/LaunchController.cpp b/launcher/LaunchController.cpp index ce9ce89d0..07047bf67 100644 --- a/launcher/LaunchController.cpp +++ b/launcher/LaunchController.cpp @@ -278,6 +278,10 @@ void LaunchController::login() return; } } + + if (m_accountToUse->accountType() == AccountType::Offline) + m_session->wants_online = false; + // we own Minecraft, there is a profile, it's all ready to go! launchInstance(); return; @@ -304,7 +308,8 @@ void LaunchController::login() return; } case AccountState::Disabled: { - auto errorString = tr("The launcher's client identification has changed. Please remove '%1' and try again."); + auto errorString = tr("The launcher's client identification has changed. Please remove '%1' and try again.") + .arg(accountToCheck->profileName()); QMessageBox::warning(m_parentWidget, tr("Client identification changed"), errorString, QMessageBox::StandardButton::Ok, QMessageBox::StandardButton::Ok);