HideServers Fix

This commit is contained in:
thororen1234 2024-11-03 12:22:06 -05:00
parent 12ce1919a9
commit e873230381

View file

@ -77,7 +77,7 @@ export default definePlugin({
find: '("guildsnav")',
replacement: [
{
match: /(?<=#{intl::SERVERS},children:.{0,300}?)(\i)(\)?\.map\(\i\))/,
match: /(?<=#{intl::SERVERS}"\]\),children:.{0,300}?)(\i)(\)?\.map\(\i\))/,
replace: "$self.useFilteredGuilds($1)$2",
},
// despite my best efforts, the above doesnt trigger a rerender