fix(Experiments): Broken isStaff match
This commit is contained in:
parent
5625d63e46
commit
5a18292d92
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ export default definePlugin({
|
||||||
replace: "return Vencord.Webpack.Common.UserStore.getCurrentUser().id===$1.id||$1.hasFlag($2.STAFF)}"
|
replace: "return Vencord.Webpack.Common.UserStore.getCurrentUser().id===$1.id||$1.hasFlag($2.STAFF)}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
match: /hasFreePremium=function\(\){return this.is Staff\(\)\s*\|\|/,
|
match: /hasFreePremium=function\(\){return this.isStaff\(\)\s*\|\|/,
|
||||||
replace: "hasFreePremium=function(){return ",
|
replace: "hasFreePremium=function(){return ",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue