Remove Microsoft-funded DRM.

Signed-off-by: sneedium <sneed@sneedmc.org>
This commit is contained in:
sneedium 2022-09-05 12:47:31 -04:00
parent ba1d07fee1
commit 059d476a12
Signed by: sneedium
GPG Key ID: 906F66490FBE722F

View File

@ -188,19 +188,6 @@ void AccountListPage::on_actionAddMicrosoft_triggered()
void AccountListPage::on_actionAddOffline_triggered() void AccountListPage::on_actionAddOffline_triggered()
{ {
if (!m_accounts->anyAccountIsValid()) {
QMessageBox::warning(
this,
tr("Error"),
tr(
"You must add a Microsoft or Mojang 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( MinecraftAccountPtr account = OfflineLoginDialog::newAccount(
this, this,
tr("Please enter your desired username to add your offline account.") tr("Please enter your desired username to add your offline account.")