Fix MenuItemDeobfuscator

This commit is contained in:
Vendicated 2023-02-28 00:17:39 +01:00
parent 0b61d29c31
commit 9aba70dcb1
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905

View file

@ -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[];