diff --git a/src/plugins/noBlockedMessages/index.ts b/src/plugins/noBlockedMessages/index.ts index a61fcb81f..efd800938 100644 --- a/src/plugins/noBlockedMessages/index.ts +++ b/src/plugins/noBlockedMessages/index.ts @@ -21,7 +21,6 @@ import { Devs } from "@utils/constants"; import { Logger } from "@utils/Logger"; import definePlugin, { OptionType } from "@utils/types"; import { RelationshipStore } from "@webpack/common"; - import { Message } from "discord-types/general"; const settings = definePluginSettings({ diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts index 66484e6e5..e460747d5 100644 --- a/src/webpack/patchWebpack.ts +++ b/src/webpack/patchWebpack.ts @@ -252,7 +252,7 @@ function wrapAndPatchFactory(id: PropertyKey, originalFactory: AnyModuleFactory) `id: ${String(id)}` + interpolateIfDefined`, WebpackInstance origin: ${webpackInstanceFileName}` + ")" ); - + _initWebpack(require as WebpackRequire); } else if (IS_DEV) { logger.error("WebpackRequire was not initialized, running modules without patches instead.");