From eabbf7d9bd9c2d011056918d8e23c5938c8d4f9b Mon Sep 17 00:00:00 2001 From: Nico Date: Tue, 15 Nov 2022 09:34:53 +0100 Subject: [PATCH] fix(fakeNitro): add missing predicate for sticker bypass (#215) --- src/plugins/fakeNitro.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/fakeNitro.ts b/src/plugins/fakeNitro.ts index e7ef401a..3ec8dc5d 100644 --- a/src/plugins/fakeNitro.ts +++ b/src/plugins/fakeNitro.ts @@ -88,6 +88,7 @@ export default definePlugin({ }, { find: "\"SENDABLE\"", + predicate: () => Settings.plugins.FakeNitro.enableStickerBypass === true, replacement: { match: /(\w+)\.available\?/, replace: "true?"