fix: being bugged about "new quests available" despite completeAllQuests (#309)

This commit is contained in:
Sainan 2024-06-16 23:02:44 +02:00 committed by GitHub
parent b3794821c4
commit 1dc1a9aec8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,6 +60,14 @@ const inventoryController: RequestHandler = async (request: Request, response: R
if (config.completeAllQuests) {
for (const quest of inventoryResponse.QuestKeys) {
quest.Completed = true;
quest.Progress = [
{
c: 0,
i: false,
m: false,
b: []
}
];
}
}