diff options
author | azahi <azat@bahawi.net> | 2025-01-14 14:14:56 +0300 |
---|---|---|
committer | azahi <azat@bahawi.net> | 2025-01-14 14:14:56 +0300 |
commit | 079054e7818874d6f83bc6e1333001486a6350e1 (patch) | |
tree | 1d89addffdf14647b4266da72cdb8e902f455407 /packages/prismlauncher-no-valid-account.patch | |
parent | 2025-01-14 (diff) |
2025-01-14
Diffstat (limited to '')
-rw-r--r-- | packages/prismlauncher-no-valid-account.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/prismlauncher-no-valid-account.patch b/packages/prismlauncher-no-valid-account.patch new file mode 100644 index 0000000..9591453 --- /dev/null +++ b/packages/prismlauncher-no-valid-account.patch @@ -0,0 +1,18 @@ +diff --git c/launcher/minecraft/auth/AccountList.cpp w/launcher/minecraft/auth/AccountList.cpp +index d276d4c41..b3c70962d 100644 +--- c/launcher/minecraft/auth/AccountList.cpp ++++ w/launcher/minecraft/auth/AccountList.cpp +@@ -577,12 +577,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() |