rix101/overlays/offline-mode-prism-launcher.diff

20 lines
546 B
Diff
Raw Normal View History

diff --git a/launcher/minecraft/auth/AccountList.cpp b/launcher/minecraft/auth/AccountList.cpp
index 9e2fd11..3965913 100644
--- a/launcher/minecraft/auth/AccountList.cpp
+++ b/launcher/minecraft/auth/AccountList.cpp
@@ -657,13 +657,7 @@ void AccountList::setListFilePath(QString path, bool autosave)
bool AccountList::anyAccountIsValid()
{
- for(auto account: m_accounts)
- {
- if(account->ownsMinecraft()) {
- return true;
- }
- }
- return false;
+ return true;
}
void AccountList::fillQueue() {