This commit is contained in:
Trial97 2023-11-23 16:23:56 +02:00
commit be67067fa2
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
72 changed files with 334 additions and 224 deletions

View file

@ -36,6 +36,7 @@
#include "LaunchController.h"
#include "Application.h"
#include "minecraft/auth/AccountData.h"
#include "minecraft/auth/AccountList.h"
#include "ui/InstanceWindow.h"
@ -212,7 +213,7 @@ void LaunchController::login()
m_accountToUse->fillSession(m_session);
// Launch immediately in true offline mode
if (m_accountToUse->isOffline()) {
if (m_accountToUse->accountType() == AccountType::Offline) {
launchInstance();
return;
}