fix(fakeNitro): add missing predicate for sticker bypass (#215)
This commit is contained in:
parent
be088f9072
commit
eabbf7d9bd
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ export default definePlugin({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: "\"SENDABLE\"",
|
find: "\"SENDABLE\"",
|
||||||
|
predicate: () => Settings.plugins.FakeNitro.enableStickerBypass === true,
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(\w+)\.available\?/,
|
match: /(\w+)\.available\?/,
|
||||||
replace: "true?"
|
replace: "true?"
|
||||||
|
|
Loading…
Reference in a new issue