From 0a92bd6521da3159618f08172530f4777902158b Mon Sep 17 00:00:00 2001 From: Vendicated Date: Mon, 21 Nov 2022 15:59:19 +0100 Subject: [PATCH] PlatformIndicators: Fix server list --- src/plugins/platformIndicators.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platformIndicators.tsx b/src/plugins/platformIndicators.tsx index d8f69a636..870cd3832 100644 --- a/src/plugins/platformIndicators.tsx +++ b/src/plugins/platformIndicators.tsx @@ -97,7 +97,7 @@ export default definePlugin({ // Server member list decorators find: "this.renderPremium()", replacement: { - match: /this.renderPremium\(\).+?\]/, + match: /this.renderPremium\(\)[^\]]*?\]/, replace: "$&.concat(Vencord.Plugins.plugins.PlatformIndicators.renderPlatformIndicators(this.props))" } },