Fix Broken Patches

This commit is contained in:
thororen1234 2026-07-23 00:45:56 -04:00
parent 664d6baeb7
commit ac0d43d291
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -527,7 +527,7 @@ export default definePlugin({
replacement: [
{
// Extracts the custom maxDigits prop.
match: /(=>{let{count:\i,)/,
match: /(\(\i\){let{count:\i,)/,
replace: "$1maxDigits,"
},
{

View file

@ -1122,7 +1122,7 @@ export default definePlugin({
{
// Don't block name style in friends list just
// because the name is the same as the username.
find: "location:\"DiscordTag\"});",
find: 'location:"DiscordTag"})',
replacement: {
match: /(?<=,forceUsername:(\i),.*?displayNameStyles:)\i!==\i\?(\i.displayNameStyles):null/,
replace: "!$1?$2:null"