This commit is contained in:
Nuckyz 2024-05-28 17:12:36 -03:00
parent 1eeadbcd97
commit 6b648f3d38
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -54,7 +54,7 @@ define(Function.prototype, "m", {
// When using React DevTools or other extensions, we may also catch their Webpack here. // When using React DevTools or other extensions, we may also catch their Webpack here.
// This ensures we actually got the right ones. // This ensures we actually got the right ones.
const { stack } = new Error(); const { stack } = new Error();
if (!(stack?.includes("discord.com") || stack?.includes("discordapp.com")) && Array.isArray(moduleFactories)) { if (!(stack?.includes("discord.com") || stack?.includes("discordapp.com")) || Array.isArray(moduleFactories)) {
define(this, "m", { value: moduleFactories }); define(this, "m", { value: moduleFactories });
return; return;
} }