mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 09:33:03 -04:00
partially revert "Array support for find + ResurrectHome: View Server Home Button on Server Guide (#2283)"
This reverts commit 5636f9d979
.
It breaks Vesktop which is not acceptable. Need to resolve this conflict and add this back later
This commit is contained in:
parent
5636f9d979
commit
89dc74d5d7
5 changed files with 15 additions and 47 deletions
|
@ -79,8 +79,6 @@ for (const p of pluginsValues) {
|
|||
if (p.patches && isPluginEnabled(p.name)) {
|
||||
for (const patch of p.patches) {
|
||||
patch.plugin = p.name;
|
||||
if (!Array.isArray(patch.find))
|
||||
patch.find = [patch.find];
|
||||
if (!Array.isArray(patch.replacement))
|
||||
patch.replacement = [patch.replacement];
|
||||
patches.push(patch);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue