I'm stupid
This commit is contained in:
parent
488f133a90
commit
86f69e84c1
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue