mirror of
https://github.com/Vendicated/Vencord
synced 2024-08-26 03:37:47 -04:00
USRBG: fix in simplified profile (#2549)
This commit is contained in:
parent
5976d52cbc
commit
0b611a2911
1 changed files with 3 additions and 3 deletions
|
@ -74,15 +74,15 @@ export default definePlugin({
|
|||
]
|
||||
},
|
||||
{
|
||||
find: /overrideBannerSrc:\i,profileType:/,
|
||||
find: /overrideBannerSrc:\i,overrideBannerWidth:/,
|
||||
replacement: [
|
||||
{
|
||||
match: /(\i)\.premiumType/,
|
||||
replace: "$self.premiumHook($1)||$&"
|
||||
},
|
||||
{
|
||||
match: /(?<=function \i\((\i)\)\{)(?=var.{30,50},overrideBannerSrc:)/,
|
||||
replace: "$1.overrideBannerSrc=$self.useBannerHook($1);"
|
||||
match: /function \i\((\i)\)\{/,
|
||||
replace: "$&$1.overrideBannerSrc=$self.useBannerHook($1);"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue