fix(fakeNitro): add missing predicate for sticker bypass (#215)
This commit is contained in:
parent
be088f9072
commit
eabbf7d9bd
|
@ -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