From 9aba70dcb16c9577095e65b7eef317a20ea33182 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Tue, 28 Feb 2023 00:17:39 +0100 Subject: [PATCH] Fix MenuItemDeobfuscator --- src/plugins/apiMenuItemDeobfuscator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/apiMenuItemDeobfuscator.ts b/src/plugins/apiMenuItemDeobfuscator.ts index 5703456b..4b8554fa 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[];