fix: foundry keeps refreshing, thinking argon crystals are expired
This commit is contained in:
		
							parent
							
								
									f106f6a1d7
								
							
						
					
					
						commit
						841b57ec9e
					
				@ -136,6 +136,9 @@ const inventoryController: RequestHandler = async (request, response) => {
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // Fix for #380
 | 
			
		||||
    inventoryResponse.NextRefill = { $date: { $numberLong: "9999999999999" } };
 | 
			
		||||
 | 
			
		||||
    response.json(inventoryResponse);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -253,7 +253,8 @@ export interface IInventoryResponse {
 | 
			
		||||
    NemesisAbandonedRewards: string[];
 | 
			
		||||
    DailyAffiliationKahl: number;
 | 
			
		||||
    LastInventorySync: IOid;
 | 
			
		||||
    NextRefill: IMongoDate;
 | 
			
		||||
    NextRefill: IMongoDate; // Next time argon crystals will have a decay tick
 | 
			
		||||
    FoundToday?: IMiscItem[]; // for Argon Crystals
 | 
			
		||||
    ActiveLandscapeTraps: any[];
 | 
			
		||||
    EvolutionProgress?: IEvolutionProgress[];
 | 
			
		||||
    RepVotes: any[];
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user