From e24d5d3f9361dc4bdf2035dc038fd5521503b826 Mon Sep 17 00:00:00 2001 From: byron <47872200+byeoon@users.noreply.github.com> Date: Wed, 3 Apr 2024 18:39:46 -0400 Subject: [PATCH] Update src/plugins/emoteCloner/index.tsx Co-authored-by: ryan-0324 <77452312+ryan-0324@users.noreply.github.com> --- src/plugins/emoteCloner/index.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/plugins/emoteCloner/index.tsx b/src/plugins/emoteCloner/index.tsx index 3976b3991..ecdd62b42 100644 --- a/src/plugins/emoteCloner/index.tsx +++ b/src/plugins/emoteCloner/index.tsx @@ -129,15 +129,9 @@ function getGuildCandidates(data: Data) { const { emojis } = EmojiStore.getGuilds()[g.id]; let count = 0; - for (const emoji of emojis) { - if (emoji.animated === isAnimated) { + for (const emoji of emojis) + if (emoji.animated === isAnimated && !emoji.managed) count++; - if (emoji.managed === true) { - count--; - } - } - - } return count < emojiSlots; }).sort((a, b) => a.name.localeCompare(b.name)); }