fix: complete all quests not working #1755
@ -35,10 +35,8 @@ export const manageQuestsController: RequestHandler = async (req, res) => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    switch (operation) {
 | 
					    switch (operation) {
 | 
				
			||||||
        case "completeAll": {
 | 
					        case "completeAll": {
 | 
				
			||||||
            if (allQuestKeys.includes(questItemType)) {
 | 
					            for (const questKey of inventory.QuestKeys) {
 | 
				
			||||||
                for (const questKey of inventory.QuestKeys) {
 | 
					                await completeQuest(inventory, questKey.ItemType);
 | 
				
			||||||
                    await completeQuest(inventory, questKey.ItemType);
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user