Fix DeadMembers

This commit is contained in:
thororen1234 2024-10-06 13:33:56 -04:00
parent 45bdf0ae6c
commit 94831de711

View file

@ -17,8 +17,8 @@ export default definePlugin({
{
find: '.BADGES=1]="BADGES"',
replacement: {
match: /(\i)=\{className:\i.username,style:.*?onContextMenu:\i,children:.*?\};/,
replace: "$&$1.children=$self.wrapMessageAuthor(arguments[0],$1.children);"
match: /(\i)=\{className:\i.username,style:.*?onContextMenu:\i,children:.*?\},/,
replace: "$&__dummyvar=($1.children=$self.wrapMessageAuthor(arguments[0],$1.children)),"
}
},
{