From 079054e7818874d6f83bc6e1333001486a6350e1 Mon Sep 17 00:00:00 2001 From: azahi Date: Tue, 14 Jan 2025 14:14:56 +0300 Subject: 2025-01-14 --- packages/prismlauncher-no-valid-account.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packages/prismlauncher-no-valid-account.patch (limited to 'packages/prismlauncher-no-valid-account.patch') 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() -- cgit 1.4.1