PronounDB: Fix patch

This commit is contained in:
Nuckyz 2024-04-26 15:55:28 -03:00
parent 4fce88fa8f
commit 36327ebd70
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -56,7 +56,7 @@ export default definePlugin({
find: ".pronouns,children", find: ".pronouns,children",
replacement: [ replacement: [
{ {
match: /{user:(\i),[^}]*,pronouns:(\i),[^}]*}=\i;/, match: /{user:(\i),[^}]*,pronouns:(\i),[^}]*}=\i.*?;(?=return)/,
replace: "$&let vcPronounSource;[$2,vcPronounSource]=$self.useProfilePronouns($1.id);" replace: "$&let vcPronounSource;[$2,vcPronounSource]=$self.useProfilePronouns($1.id);"
}, },
PRONOUN_TOOLTIP_PATCH PRONOUN_TOOLTIP_PATCH