From 9912a623b10683632fe8656b816da853215037d8 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Mon, 21 Apr 2025 10:42:56 -0700 Subject: [PATCH] fix: complete all quests not working (#1755) Fixes #1742 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1755 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- 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; }