Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Goode <[email protected]>
  • Loading branch information
evan-goode committed Sep 19, 2024
1 parent 5d803cc commit dffe14b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions launcher/minecraft/auth/Yggdrasil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,14 +224,13 @@ void Yggdrasil::processResponse(QJsonObject responseData)
changeState(AccountTaskState::STATE_FAILED_HARD, tr("Authentication server didn't send available profiles."));
return;
} else {
if(profiles.toArray().isEmpty()) {
if (profiles.toArray().isEmpty()) {
changeState(AccountTaskState::STATE_FAILED_HARD, tr("Account has no available profile."));
return;
} else {
profile = profiles.toArray().first();
}
}

}

auto profileObj = profile.toObject();
Expand Down

0 comments on commit dffe14b

Please sign in to comment.