diff options
author | Vendicated <vendicated@riseup.net> | 2023-02-28 00:17:39 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2023-02-28 00:17:39 +0100 |
commit | 9aba70dcb16c9577095e65b7eef317a20ea33182 (patch) | |
tree | f3ea358af5871fbbe0e1c1a4af520631f278feee /src | |
parent | 0b61d29c31391405830d0cc06de6d8629573d18e (diff) | |
download | Vencord-9aba70dcb16c9577095e65b7eef317a20ea33182.tar.gz Vencord-9aba70dcb16c9577095e65b7eef317a20ea33182.tar.bz2 Vencord-9aba70dcb16c9577095e65b7eef317a20ea33182.zip |
Fix MenuItemDeobfuscator
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/apiMenuItemDeobfuscator.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/apiMenuItemDeobfuscator.ts b/src/plugins/apiMenuItemDeobfuscator.ts index 5703456..4b8554f 100644 --- a/src/plugins/apiMenuItemDeobfuscator.ts +++ b/src/plugins/apiMenuItemDeobfuscator.ts @@ -43,7 +43,7 @@ export default definePlugin({ { find: '"Menu API', replacement: { - match: /function.{0,80}type===(.{1,3})\..{1,3}\).{0,50}navigable:.+?Menu API/s, + match: /function.{0,80}type===(\i)\).{0,50}navigable:.+?Menu API/s, replace: (m, mod) => { let nicenNames = ""; const redefines = [] as string[]; |