mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-10 23:23:04 -04:00
more plugin fixes
This commit is contained in:
parent
1176896a1b
commit
2133823bd3
5 changed files with 47 additions and 5 deletions
|
@ -141,7 +141,7 @@ function patchPush() {
|
|||
|
||||
try {
|
||||
const newCode = code.replace(replacement.match, replacement.replace);
|
||||
if (newCode === code) {
|
||||
if (newCode === code && !replacement.noWarn) {
|
||||
logger.warn(`Patch by ${patch.plugin} had no effect (Module id is ${id}): ${replacement.match}`);
|
||||
if (IS_DEV) {
|
||||
logger.debug("Function Source:\n", code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue