Merge pull request #81 from bexnoss/fix-msa-account-refresh

This commit is contained in:
swirl 2022-01-16 17:32:13 -05:00 committed by GitHub
commit 0bc8baf117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,7 @@ shared_qobject_ptr<AccountTask> MinecraftAccount::refresh() {
if(data.type == AccountType::MSA) { if(data.type == AccountType::MSA) {
m_currentTask.reset(new MSASilent(&data)); m_currentTask.reset(new MSASilent(&data));
} }
if(data.type == AccountType::Offline) { else if(data.type == AccountType::Offline) {
m_currentTask.reset(new OfflineRefresh(&data)); m_currentTask.reset(new OfflineRefresh(&data));
} }
else { else {