ResurrectHome: Fix Force Server Home patch
This commit is contained in:
parent
c623e44786
commit
88f353e7f6
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