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",
|
||||
replacement: {
|
||||
match: /(?<=getMutableGuildChannelsForGuild\(\i\)\);)(?=if\(null==\i\|\|)/,
|
||||
replace: "if($self.useForceServerHome())return false;"
|
||||
match: /getMutableGuildChannelsForGuild\(\i\);return\(0,\i\.useStateFromStores\).+?\]\)(?=}function)/,
|
||||
replace: m => `${m}&&!$self.useForceServerHome()`
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue