fix: use await instead of void

This commit is contained in:
Sainan 2025-04-07 01:13:47 +02:00
parent 002b0cb93f
commit 94993a16aa

View File

@ -199,7 +199,7 @@ const handleQuestCompletion = async (
logger.debug(`completed quest ${questKey}`);
if (questKey == "/Lotus/Types/Keys/OrokinMoonQuest/OrokinMoonQuestKeyChain") {
void createMessage(inventory.accountOwnerId, [
await createMessage(inventory.accountOwnerId, [
{
sndr: "/Lotus/Language/Bosses/Ordis",
msg: "/Lotus/Language/G1Quests/SecondDreamFinishInboxMessage",