summaryrefslogtreecommitdiff
path: root/patches/prismlauncher-allow-offline-accounts.patch
blob: 4454551d213a422ee28580cd633d612b0f854dbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git i/launcher/ui/pages/global/AccountListPage.cpp w/launcher/ui/pages/global/AccountListPage.cpp
index 3a21cdd9..de665694 100644
--- i/launcher/ui/pages/global/AccountListPage.cpp
+++ w/launcher/ui/pages/global/AccountListPage.cpp
@@ -146,14 +146,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."
-                                "<br><br>"
-                                "If you have lost your account you can contact Microsoft for support."));
-        return;
-    }
-
     MinecraftAccountPtr account =
         OfflineLoginDialog::newAccount(this, tr("Please enter your desired username to add your offline account."));