diff options
author | bexnoss <82064510+bexnoss@users.noreply.github.com> | 2022-01-16 23:30:17 +0100 |
---|---|---|
committer | bexnoss <82064510+bexnoss@users.noreply.github.com> | 2022-01-16 23:30:17 +0100 |
commit | 5f9270ed4b97dd647bb49840f76132ddcdc13a1b (patch) | |
tree | 51abffb5a0cbc4fa9fe2ff650f1e81cedff40562 /launcher/minecraft | |
parent | 81fe41a038ee12ff2ee0200525b39e4ad650bec2 (diff) | |
download | PrismLauncher-5f9270ed4b97dd647bb49840f76132ddcdc13a1b.tar.gz PrismLauncher-5f9270ed4b97dd647bb49840f76132ddcdc13a1b.tar.bz2 PrismLauncher-5f9270ed4b97dd647bb49840f76132ddcdc13a1b.zip |
Fix MSA account refresh
Diffstat (limited to 'launcher/minecraft')
-rw-r--r-- | launcher/minecraft/auth/MinecraftAccount.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/auth/MinecraftAccount.cpp b/launcher/minecraft/auth/MinecraftAccount.cpp index 6592be0f..ffc81ed8 100644 --- a/launcher/minecraft/auth/MinecraftAccount.cpp +++ b/launcher/minecraft/auth/MinecraftAccount.cpp @@ -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 { |