forked from OpenWF/SpaceNinjaServer
		
	fix: use await instead of void
This commit is contained in:
		
							parent
							
								
									002b0cb93f
								
							
						
					
					
						commit
						94993a16aa
					
				@ -199,7 +199,7 @@ const handleQuestCompletion = async (
 | 
				
			|||||||
    logger.debug(`completed quest ${questKey}`);
 | 
					    logger.debug(`completed quest ${questKey}`);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (questKey == "/Lotus/Types/Keys/OrokinMoonQuest/OrokinMoonQuestKeyChain") {
 | 
					    if (questKey == "/Lotus/Types/Keys/OrokinMoonQuest/OrokinMoonQuestKeyChain") {
 | 
				
			||||||
        void createMessage(inventory.accountOwnerId, [
 | 
					        await createMessage(inventory.accountOwnerId, [
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                sndr: "/Lotus/Language/Bosses/Ordis",
 | 
					                sndr: "/Lotus/Language/Bosses/Ordis",
 | 
				
			||||||
                msg: "/Lotus/Language/G1Quests/SecondDreamFinishInboxMessage",
 | 
					                msg: "/Lotus/Language/G1Quests/SecondDreamFinishInboxMessage",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user