Fix Broken Patches
This commit is contained in:
parent
447910b6c1
commit
434814340b
2 changed files with 5 additions and 5 deletions
|
|
@ -59,14 +59,14 @@ export default definePlugin({
|
|||
{
|
||||
find: '.CUSTOM_GIFT?""',
|
||||
replacement: [
|
||||
{
|
||||
match: /message:(\i),message:\{id:\i\}.{0,200}renderContentOnly:\i.{0,30}\}=\i;/,
|
||||
replace: "$&$1=$self.transformMessage($1);",
|
||||
},
|
||||
{
|
||||
match: /childrenMessageContent:(\i),/g,
|
||||
replace: "childrenMessageContent:$self.wrapContent($1,arguments[0].message.id),",
|
||||
},
|
||||
{
|
||||
match: /\i\.memo\(function\((\i)\)\{(?=let \i,\i)/,
|
||||
replace: "$&e.message=$self.transformMessage($1);",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ export default definePlugin({
|
|||
find: '("UserProfileModalV2EditingPanel")',
|
||||
replacement: [
|
||||
{
|
||||
match: /function (\i).{0,50}showNitroIcon:.{0,450}\}\),\i\]\}\)\}/,
|
||||
match: /function (\i).{0,50}showNitroIcon:.{0,500}\}\),\i\]\}\)\}/,
|
||||
replace: "$&$self.setNewCustomizationSection($1);"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue