aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-02-28 00:17:39 +0100
committerVendicated <vendicated@riseup.net>2023-02-28 00:17:39 +0100
commit9aba70dcb16c9577095e65b7eef317a20ea33182 (patch)
treef3ea358af5871fbbe0e1c1a4af520631f278feee
parent0b61d29c31391405830d0cc06de6d8629573d18e (diff)
downloadVencord-9aba70dcb16c9577095e65b7eef317a20ea33182.tar.gz
Vencord-9aba70dcb16c9577095e65b7eef317a20ea33182.tar.bz2
Vencord-9aba70dcb16c9577095e65b7eef317a20ea33182.zip
Fix MenuItemDeobfuscator
-rw-r--r--src/plugins/apiMenuItemDeobfuscator.ts2
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[];