Fix ColorSighted

This commit is contained in:
Vendicated 2023-10-25 20:07:45 +02:00
parent 13c59f47cb
commit 465a87f66b
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
2 changed files with 4 additions and 2 deletions

View file

@ -167,6 +167,7 @@ function patchPush(webpackGlobal: any) {
try {
const newCode = executePatch(replacement.match, replacement.replace as string);
if (newCode === code && !patch.noWarn) {
(window.explosivePlugins ??= new Set<string>()).add(patch.plugin);
logger.warn(`Patch by ${patch.plugin} had no effect (Module id is ${id}): ${replacement.match}`);
if (IS_DEV) {
logger.debug("Function Source:\n", code);