Skip to content

Commit

Permalink
feat: remove offline mode restrictions
Browse files Browse the repository at this point in the history
Signed-off-by: windstone <[email protected]>
  • Loading branch information
notwindstone authored Jul 10, 2024
1 parent ace0c9c commit bdb6345
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions launcher/ui/pages/global/AccountListPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,15 @@ 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 bdb6345

Please sign in to comment.