PlatformIndicators: Fix server list

This commit is contained in:
Vendicated 2022-11-21 15:59:19 +01:00
parent 33c33eb0fd
commit 0a92bd6521
No known key found for this signature in database
GPG Key ID: EC781ADFB93EFFA3

View File

@ -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))"
}
},