mirror of
https://github.com/RobinRMC/VencordPlus.git
synced 2025-05-11 18:05:39 +02:00
Array support for find + ResurrectHome: View Server Home Button on Server Guide (#2283)
This commit is contained in:
parent
dc4c678aa3
commit
5636f9d979
6 changed files with 131 additions and 23 deletions
|
@ -299,6 +299,9 @@ function runTime(token: string) {
|
|||
delete patch.predicate;
|
||||
delete patch.group;
|
||||
|
||||
if (!Array.isArray(patch.find))
|
||||
patch.find = [patch.find];
|
||||
|
||||
if (!Array.isArray(patch.replacement))
|
||||
patch.replacement = [patch.replacement];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue