about summary refs log tree commit diff
path: root/packages/prismlauncher-no-valid-account.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/prismlauncher-no-valid-account.patch')
-rw-r--r--packages/prismlauncher-no-valid-account.patch18
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()

Consider giving Nix/NixOS a try! <3