From 2e44aebc60dfb262e3ea4fb15a68227e30969f3a Mon Sep 17 00:00:00 2001 From: J4stMart <23520184+J4stMart@users.noreply.github.com> Date: Thu, 12 Oct 2023 16:53:50 +0200 Subject: [PATCH] Fix shooting stars not spawning (#5389) --- src/lib/util/handleTripFinish.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/util/handleTripFinish.ts b/src/lib/util/handleTripFinish.ts index 9118e882c7..807e6c09fd 100644 --- a/src/lib/util/handleTripFinish.ts +++ b/src/lib/util/handleTripFinish.ts @@ -158,11 +158,11 @@ export async function handleTripFinish( components.push(..._components); } + handleTriggerShootingStar(user, data, components); + if (components.length > 0) { message.components = makeComponents(components); } - handleTriggerShootingStar(user, data, components); - sendToChannelID(channelID, message); }