Questify: Find Fix. (#1204)
This commit is contained in:
parent
710a7538a3
commit
bbab5075dd
1 changed files with 2 additions and 2 deletions
|
|
@ -230,7 +230,7 @@ export default definePlugin({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// Overrides the account panel Quest popup and progress display.
|
// Overrides the account panel Quest popup and progress display.
|
||||||
find: "QUESTS_BAR,questId",
|
find: "collapsed-with-rewards\":\"collapsed-without-rewards",
|
||||||
predicate: () => getQuestifySettings().disableAccountPanelPromo || !getQuestifySettings().disableAccountPanelQuestProgress,
|
predicate: () => getQuestifySettings().disableAccountPanelPromo || !getQuestifySettings().disableAccountPanelQuestProgress,
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?<=function\(\){)(let (\i)=\(0,\i.\i\)\(\);)/,
|
match: /(?<=function\(\){)(let (\i)=\(0,\i.\i\)\(\);)/,
|
||||||
|
|
@ -350,7 +350,7 @@ export default definePlugin({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// Overwrite button props for Quest bar.
|
// Overwrite button props for Quest bar.
|
||||||
find: "QUESTS_BAR,questId",
|
find: "collapsed-with-rewards\":\"collapsed-without-rewards",
|
||||||
predicate: () => !getQuestifySettings().disableQuestsEverything && hasEnabledAutoCompleteQuestTypes(),
|
predicate: () => !getQuestifySettings().disableQuestsEverything && hasEnabledAutoCompleteQuestTypes(),
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?<=SELECT&&!\i&&!\i,(\i)=null;)(return )(\i\?\i=\(0,\i.\i\)\(\i,{quest:(\i))/,
|
match: /(?<=SELECT&&!\i&&!\i,(\i)=null;)(return )(\i\?\i=\(0,\i.\i\)\(\i,{quest:(\i))/,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue