From 2133823bd369efa145474f6e558a82a960d48d52 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Fri, 11 Nov 2022 16:43:40 +0100 Subject: more plugin fixes --- src/plugins/pronoundb/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/pronoundb') diff --git a/src/plugins/pronoundb/index.ts b/src/plugins/pronoundb/index.ts index 121e0d6..499a73a 100644 --- a/src/plugins/pronoundb/index.ts +++ b/src/plugins/pronoundb/index.ts @@ -46,11 +46,12 @@ export default definePlugin({ { find: "currentPronouns:", all: true, + noWarn: true, replacement: { match: /\(0,.{1,3}\.jsxs?\)\((.{1,10}),(\{[^[}]*currentPronouns:[^}]*(\w)\.pronouns[^}]*\})\)/, replace: (original, PronounComponent, pronounProps, fullProps) => { // UserSettings - if (fullProps.includes("onPronounsChange")) return original; + if (pronounProps.includes("onPronounsChange")) return original; return `Vencord.Plugins.plugins.PronounDB.PronounsProfileWrapper(${PronounComponent}, ${pronounProps}, ${fullProps})`; } -- cgit