Fix Broken Patches
This commit is contained in:
parent
664d6baeb7
commit
ac0d43d291
2 changed files with 2 additions and 2 deletions
|
|
@ -527,7 +527,7 @@ export default definePlugin({
|
|||
replacement: [
|
||||
{
|
||||
// Extracts the custom maxDigits prop.
|
||||
match: /(=>{let{count:\i,)/,
|
||||
match: /(\(\i\){let{count:\i,)/,
|
||||
replace: "$1maxDigits,"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue