Questify: Fix mistake. (#448)

* Fix oopsie.

* Fix oopsie.
This commit is contained in:
Etorix 2025-10-09 18:56:18 -07:00 • committed by GitHub
parent 5e314cef5d
commit 5b9e899c57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1043,15 +1043,19 @@ export default definePlugin({
replace: "return $2.QUESTIFY=\"questify\",$1"
}
},
{
// Adds the "Questify" sort option to the sort dropdown.
find: "NOT_SHAREABLE}",
replacement: {
match: /(?=case (\i.\i).SUGGESTED)/,
replace: "case $1.QUESTIFY:return \"Questify\";"
},
},
{
find: "CLAIMED=\"claimed\",",
group: true,
replacement: [
{
// Adds the "Questify" sort option to the sort dropdown.
match: /(?=case (\i.\i).SUGGESTED)/,
replace: "case $1.QUESTIFY:return \"Questify\";"
},
{
// Run Questify's sort function every time due to hook requirements but return
// early if not applicable. If the sort method is set to "Questify", replace the