From 871130271eab6aca2e07597e28e270eeee4643db Mon Sep 17 00:00:00 2001
From: K0taka <144228630+K0taka@users.noreply.github.com>
Date: Fri, 5 Jun 2026 22:11:35 +0500
Subject: [PATCH] fix: offline access
---
launcher/ui/pages/global/AccountListPage.cpp | 8 --------
1 file changed, 8 deletions(-)
diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp
index 06c40f117..be603c376 100644
--- a/launcher/ui/pages/global/AccountListPage.cpp
+++ b/launcher/ui/pages/global/AccountListPage.cpp
@@ -140,14 +140,6 @@ void AccountListPage::on_actionAddMicrosoft_triggered()
void AccountListPage::on_actionAddOffline_triggered()
{
- if (!m_accounts->anyAccountIsValid()) {
- QMessageBox::warning(this, tr("Error"),
- tr("You must add a Microsoft account that owns Minecraft before you can add an offline account."
- "
"
- "If you have lost your account you can contact Microsoft for support."));
- return;
- }
-
ChooseOfflineNameDialog dialog(tr("Please enter your desired username to add your offline account."), this);
if (dialog.exec() != QDialog::Accepted) {
return;