From 665e43f04818af6f66c0ce1191331e7ab34ca45a Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Wed, 17 Jun 2026 11:47:09 -0400 Subject: [PATCH] EquicordHelper: dont crash because of dziurwa --- src/equicordplugins/equicordHelper/index.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/equicordplugins/equicordHelper/index.tsx b/src/equicordplugins/equicordHelper/index.tsx index 11d3e5998..b654a4cfa 100644 --- a/src/equicordplugins/equicordHelper/index.tsx +++ b/src/equicordplugins/equicordHelper/index.tsx @@ -178,6 +178,15 @@ export default definePlugin({ } ] }, + // Fixes crashing with unknown gift styles + // ty dziurwa for crashing me + { + find: "Unexpected giftStyle", + replacement: { + match: /throw Error\(`Unexpected giftStyle \$\{(\i)\}`\);/, + replace: "console.warn(`Unexpected giftStyle $${$1}`);" + } + }, // Fix a race condition? { find: ".completeOperation(",