From 7c9994e913f2b091b2bd912efee53e6c575d559e Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sun, 20 Apr 2025 16:58:35 +0200 Subject: [PATCH] fix: complete all quests not working --- src/controllers/custom/manageQuestsController.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/controllers/custom/manageQuestsController.ts b/src/controllers/custom/manageQuestsController.ts index 04650a06..b951c754 100644 --- a/src/controllers/custom/manageQuestsController.ts +++ b/src/controllers/custom/manageQuestsController.ts @@ -35,10 +35,8 @@ export const manageQuestsController: RequestHandler = async (req, res) => { switch (operation) { case "completeAll": { - if (allQuestKeys.includes(questItemType)) { - for (const questKey of inventory.QuestKeys) { - await completeQuest(inventory, questKey.ItemType); - } + for (const questKey of inventory.QuestKeys) { + await completeQuest(inventory, questKey.ItemType); } break; }