mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-09-18 16:42:12 -04:00
Fixed creation of Offline Account
This commit is contained in:
parent
178c7cbe26
commit
4c8248093b
@ -141,14 +141,8 @@ void AccountListPage::on_actionAddMicrosoft_triggered()
|
|||||||
|
|
||||||
void AccountListPage::on_actionAddOffline_triggered()
|
void AccountListPage::on_actionAddOffline_triggered()
|
||||||
{
|
{
|
||||||
if (!m_accounts->anyAccountIsValid()) {
|
// Deleted the logic to allow creation of
|
||||||
QMessageBox::warning(this, tr("Error"),
|
// Offline account
|
||||||
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 =
|
MinecraftAccountPtr account =
|
||||||
OfflineLoginDialog::newAccount(this, tr("Please enter your desired username to add your offline account."));
|
OfflineLoginDialog::newAccount(this, tr("Please enter your desired username to add your offline account."));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user