From 4c3d19154a1ce4c1927cfff3d4ebd089ec7ab2a2 Mon Sep 17 00:00:00 2001 From: DIDIRUS4 Date: Thu, 12 Sep 2024 00:10:20 +0300 Subject: [PATCH] Fix --- launcher/minecraft/auth/AccountList.cpp | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/launcher/minecraft/auth/AccountList.cpp b/launcher/minecraft/auth/AccountList.cpp index b520e2669f..b3c70962d0 100644 --- a/launcher/minecraft/auth/AccountList.cpp +++ b/launcher/minecraft/auth/AccountList.cpp @@ -575,19 +575,10 @@ void AccountList::setListFilePath(QString path, bool autosave) m_autosave = autosave; } -/* - * Removed check function, that return's true if any account is valid. - */ - -// bool AccountList::anyAccountIsValid() -// { -// for (auto account : m_accounts) { -// if (account->ownsMinecraft()) { -// return true; -// } -// } -// return false; -// } +bool AccountList::anyAccountIsValid() +{ + return true; +} void AccountList::fillQueue() {