From 078bc546d0c0bb6e858aeade6226cadd471c362b Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Tue, 1 Apr 2025 22:14:01 -0400 Subject: [PATCH] Fix CustomUserColors --- src/equicordplugins/customUserColors/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/equicordplugins/customUserColors/index.tsx b/src/equicordplugins/customUserColors/index.tsx index 51679a07..74e88120 100644 --- a/src/equicordplugins/customUserColors/index.tsx +++ b/src/equicordplugins/customUserColors/index.tsx @@ -81,9 +81,9 @@ export default definePlugin({ patches: [ { // this also affects name headers in chats outside of servers - find: ".USERNAME),{", + find: '"BaseUsername"', replacement: { - match: /style:"username"===.{0,25}void 0/, + match: /style:\i.{0,100}void 0:void 0/, replace: "style:{color:$self.colorIfServer(arguments[0])}" }, noWarn: true,