feat(overlays)!: redefine in terms of createThings
This commit is contained in:
parent
7cf980d913
commit
51e8fafec6
6 changed files with 149 additions and 92 deletions
19
overlays/modifications/offline-mode-prism-launcher.diff
Normal file
19
overlays/modifications/offline-mode-prism-launcher.diff
Normal file
|
@ -0,0 +1,19 @@
|
|||
diff --git a/launcher/minecraft/auth/AccountList.cpp b/launcher/minecraft/auth/AccountList.cpp
|
||||
index 9e2fd11..3965913 100644
|
||||
--- a/launcher/minecraft/auth/AccountList.cpp
|
||||
+++ b/launcher/minecraft/auth/AccountList.cpp
|
||||
@@ -657,13 +657,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() {
|
Loading…
Add table
Add a link
Reference in a new issue