Skip to content

Commit

Permalink
Update AccountListPage.cpp
Browse files Browse the repository at this point in the history
cracked

Signed-off-by: Bacalhau Seco <[email protected]>
  • Loading branch information
bacalhau-seco authored May 7, 2024
1 parent 5ce8cd6 commit ebbbbab
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions launcher/ui/pages/global/AccountListPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,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 ebbbbab

Please sign in to comment.