From 9aba70dcb16c9577095e65b7eef317a20ea33182 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Tue, 28 Feb 2023 00:17:39 +0100 Subject: Fix MenuItemDeobfuscator --- src/plugins/apiMenuItemDeobfuscator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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[]; -- cgit