mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-11 02:16:23 +00:00
ResurrectHome: Fix Force Server Home patch
This commit is contained in:
parent
578e042c95
commit
0cb7f8fa2f
1 changed files with 2 additions and 2 deletions
|
@ -89,8 +89,8 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: "61eef9_2",
|
find: "61eef9_2",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?<=getMutableGuildChannelsForGuild\(\i\)\);)(?=if\(null==\i\|\|)/,
|
match: /getMutableGuildChannelsForGuild\(\i\);return\(0,\i\.useStateFromStores\).+?\]\)(?=}function)/,
|
||||||
replace: "if($self.useForceServerHome())return false;"
|
replace: m => `${m}&&!$self.useForceServerHome()`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue