summaryrefslogtreecommitdiffstats
path: root/etc/portage/patches/games-action/polymc/crack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'etc/portage/patches/games-action/polymc/crack.patch')
-rw-r--r--etc/portage/patches/games-action/polymc/crack.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/portage/patches/games-action/polymc/crack.patch b/etc/portage/patches/games-action/polymc/crack.patch
new file mode 100644
index 0000000..798099f
--- /dev/null
+++ b/etc/portage/patches/games-action/polymc/crack.patch
@@ -0,0 +1,19 @@
+diff --git a/launcher/minecraft/auth/AccountList.cpp b/launcher/minecraft/auth/AccountList.cpp
+index 3422df7..acf5bc2 100644
+--- a/launcher/minecraft/auth/AccountList.cpp
++++ b/launcher/minecraft/auth/AccountList.cpp
+@@ -650,13 +650,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() {