summaryrefslogtreecommitdiffstats
path: root/etc/portage/patches/games-action/polymc/crack.patch
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-01-28 18:49:26 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-01-28 18:49:26 +0100
commit3861362638493adf9329ad296b8547c414188426 (patch)
treeb35a3b1d53c961d4d4ed3810c7fcfb41fa12d903 /etc/portage/patches/games-action/polymc/crack.patch
parentunattended upgrade (diff)
parentportage (diff)
downloadn-3861362638493adf9329ad296b8547c414188426.tar
n-3861362638493adf9329ad296b8547c414188426.tar.gz
n-3861362638493adf9329ad296b8547c414188426.tar.bz2
n-3861362638493adf9329ad296b8547c414188426.tar.lz
n-3861362638493adf9329ad296b8547c414188426.tar.xz
n-3861362638493adf9329ad296b8547c414188426.tar.zst
n-3861362638493adf9329ad296b8547c414188426.zip
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() {