Skip to content

Commit

Permalink
remove Microsoft account validity check
Browse files Browse the repository at this point in the history
  • Loading branch information
papaj-na-wrotkach committed May 20, 2024
1 parent 7fdd844 commit efa27b3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions launcher/ui/pages/global/AccountListPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,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."));

Expand Down

0 comments on commit efa27b3

Please sign in to comment.