Fix MSA account refresh

This commit is contained in:
bexnoss 2022-01-16 23:30:17 +01:00
parent 81fe41a038
commit 5f9270ed4b

View File

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