I'm stupid

This commit is contained in:
Nuckyz 2024-05-24 03:45:46 -03:00
parent 488f133a90
commit 86f69e84c1
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -67,7 +67,7 @@ const moduleFactoriesHandler: ProxyHandler<WebpackRequire["m"]> = {
// Check if this factory is already patched // Check if this factory is already patched
// @ts-ignore // @ts-ignore
if (existingFactory.$$vencordOriginal != null) { if (existingFactory?.$$vencordOriginal != null) {
// @ts-ignore // @ts-ignore
existingFactory.$$vencordOriginal = newValue; existingFactory.$$vencordOriginal = newValue;
return true; return true;