diff options
Diffstat (limited to 'polymc/disable_offline_check.diff')
| -rw-r--r-- | polymc/disable_offline_check.diff | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/polymc/disable_offline_check.diff b/polymc/disable_offline_check.diff deleted file mode 100644 index b02bd3d..0000000 --- a/polymc/disable_offline_check.diff +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp | ||
| 2 | index 6e1e2183..6821f192 100644 | ||
| 3 | --- a/launcher/ui/pages/global/AccountListPage.cpp | ||
| 4 | +++ b/launcher/ui/pages/global/AccountListPage.cpp | ||
| 5 | @@ -186,19 +186,6 @@ void AccountListPage::on_actionAddMicrosoft_triggered() | ||
| 6 | |||
| 7 | void AccountListPage::on_actionAddOffline_triggered() | ||
| 8 | { | ||
| 9 | - if (!m_accounts->anyAccountIsValid()) { | ||
| 10 | - QMessageBox::warning( | ||
| 11 | - this, | ||
| 12 | - tr("Error"), | ||
| 13 | - tr( | ||
| 14 | - "You must add a Microsoft or Mojang account that owns Minecraft before you can add an offline account." | ||
| 15 | - "<br><br>" | ||
| 16 | - "If you have lost your account you can contact Microsoft for support." | ||
| 17 | - ) | ||
| 18 | - ); | ||
| 19 | - return; | ||
| 20 | - } | ||
| 21 | - | ||
| 22 | MinecraftAccountPtr account = OfflineLoginDialog::newAccount( | ||
| 23 | this, | ||
| 24 | tr("Please enter your desired username to add your offline account.") | ||
