Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions launcher/LaunchController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ void LaunchController::decideAccount()
if (!accounts->anyAccountIsValid()) {
// Tell the user they need to log in at least one account in order to play.
auto reply = CustomMessageBox::selectable(m_parentWidget, tr("No Accounts"),
tr("In order to play Minecraft, you must have at least one Microsoft "
"account which owns Minecraft logged in. "
tr("In order to play Minecraft, you must have at least one account logged in. "
"Would you like to open the account manager to add an account now?"),
QMessageBox::Information, QMessageBox::Yes | QMessageBox::No)
->exec();
Expand Down
2 changes: 1 addition & 1 deletion launcher/minecraft/auth/MinecraftAccount.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class MinecraftAccount : public QObject, public Usable {

AccountType accountType() const noexcept { return data.type; }

bool ownsMinecraft() const { return true; }
bool ownsMinecraft() const { return data.type != AccountType::MSA || data.minecraftEntitlement.ownsMinecraft; }

bool hasProfile() const { return data.profileId().size() != 0; }

Expand Down
9 changes: 0 additions & 9 deletions launcher/ui/pages/instance/VersionPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,15 +422,6 @@ void VersionPage::on_actionChange_version_triggered()

void VersionPage::on_actionDownload_All_triggered()
{
if (!APPLICATION->accounts()->anyAccountIsValid()) {
CustomMessageBox::selectable(this, tr("Error"),
tr("Cannot download Minecraft or update instances unless you have at least "
"one account added.\nPlease add a Microsoft account."),
QMessageBox::Warning)
->show();
return;
}

auto updateTasks = m_inst->createUpdateTask();
if (updateTasks.isEmpty()) {
return;
Expand Down
Loading