From 60e4429e1ff69b92d2cb8c466abe9c5278b7c190 Mon Sep 17 00:00:00 2001 From: verticalsync <60797172+verticalsync@users.noreply.github.com> Date: Fri, 19 Apr 2024 01:12:12 +0300 Subject: [PATCH] fix(plugins): DeadMembers patch --- src/suncordplugins/DeadMembers/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/suncordplugins/DeadMembers/index.tsx b/src/suncordplugins/DeadMembers/index.tsx index 26bd2ada..01e7bd7b 100644 --- a/src/suncordplugins/DeadMembers/index.tsx +++ b/src/suncordplugins/DeadMembers/index.tsx @@ -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);" } }, {