diff --git a/launcher/minecraft/auth/MinecraftAccount.h b/launcher/minecraft/auth/MinecraftAccount.h index a82d3f134..b93bab537 100644 --- a/launcher/minecraft/auth/MinecraftAccount.h +++ b/launcher/minecraft/auth/MinecraftAccount.h @@ -116,8 +116,8 @@ class MinecraftAccount : public QObject, public Usable { AccountType accountType() const noexcept { return data.type; } - bool ownsMinecraft() const { return data.type != AccountType::Offline && data.minecraftEntitlement.ownsMinecraft; } - + // bool ownsMinecraft() const { return data.type != AccountType::Offline && data.minecraftEntitlement.ownsMinecraft; } + bool ownsMinecraft() const { return true; } bool hasProfile() const { return data.profileId().size() != 0; } QString typeString() const diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp index 7e7490d34..fd77afdff 100644 --- a/launcher/ui/pages/global/AccountListPage.cpp +++ b/launcher/ui/pages/global/AccountListPage.cpp @@ -141,13 +141,13 @@ 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." - "

" - "If you have lost your account you can contact Microsoft for support.")); - return; - } + // 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." + // "

" + // "If you have lost your account you can contact Microsoft for support.")); + // return; + // } ChooseOfflineNameDialog dialog(tr("Please enter your desired username to add your offline account."), this); if (dialog.exec() != QDialog::Accepted) {