Questify: Fix patches. (#1080)

This commit is contained in:
Etorix 2026-05-13 06:37:48 -07:00 • committed by GitHub
parent afc683f9a3
commit 9e05a55b20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -245,12 +245,12 @@ export default definePlugin({
replacement: [
{
// QUESTS_FETCH_CURRENT_QUESTS_BEGIN
match: /(?=if\(!\i.\i.isFetchingCurrentQuests\))/,
replace: "return;"
match: /(?<=if\(\i.\i.isFetchingCurrentQuests)/,
replace: "||true"
},
{
// QUESTS_FETCH_QUEST_TO_DELIVER_BEGIN
match: /(?=let.{0,150}QUESTS_FETCH_QUEST_TO_DELIVER_BEGIN)/,
match: /(?=let \i=Date.now\(\);\i.recordQuestRequestAttempt.{0,50}QUESTS_FETCH_QUEST_TO_DELIVER_BEGIN)/,
replace: "return;"
}
]