forked from OpenWF/SpaceNinjaServer
Update questService.ts
This commit is contained in:
parent
49875a6294
commit
1a3eb7c90c
@ -294,6 +294,12 @@ const handleQuestCompletion = async (
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
||||
const questCompletionItems = getQuestCompletionItems(questKey);
|
||||
logger.debug(`quest completion items`, questCompletionItems);
|
||||
if (questCompletionItems) {
|
||||
await addItems(inventory, questCompletionItems, inventoryChanges);
|
||||
}
|
||||
};
|
||||
|
||||
export const giveKeyChainItem = async (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user