From d6b5bc58ce0f6123fd401e6b6fbe63425fa0a552 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Fri, 24 May 2024 03:49:14 -0300 Subject: [PATCH] how many times --- src/webpack/patchWebpack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts index 9b1fcdb83..8768a4718 100644 --- a/src/webpack/patchWebpack.ts +++ b/src/webpack/patchWebpack.ts @@ -336,7 +336,7 @@ function patchFactory(id: PropertyKey, factory: ModuleFactory) { for (const moduleFactories of allModuleFactories) { Object.defineProperty(moduleFactories, id, { // @ts-ignore - value: patchFactory.$$vencordOriginal, + value: patchedFactory.$$vencordOriginal, configurable: true, enumerable: true, writable: true