feat(Anammox): Update Patch

This commit is contained in:
thororen 2024-04-18 18:15:55 -04:00
parent abccd0fdda
commit e4425ca98f

View file

@ -17,8 +17,8 @@ export default definePlugin({
{
find: "UsernameDecorationTypes:function()",
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: "$&$1.children=$self.wrapMessageAuthor(arguments[0],$1.children);"
}
},
{