ResurrectHome: Fix Force Server Home patch

main
Nuckyz 6 months ago
parent c623e44786
commit 88f353e7f6
No known key found for this signature in database
GPG Key ID: 440BF8296E1C4AD9

@ -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…
Cancel
Save