返回提交历史
Modified
src/controllers/api/inventoryController.ts
+3
-0
Modified
src/types/inventoryTypes/inventoryTypes.ts
+2
-1
XFEstudio/SpaceNinjaServer
fix: foundry keeps refreshing, thinking argon crystals are expired (#393)
1a3b3b97
代码差异
2 个文件
+5
-1
@@ -136,6 +136,9 @@ const inventoryController: RequestHandler = async (request, response) => {
136
136
}
137
137
}
138
138
139
// Fix for #380
140
inventoryResponse.NextRefill = { $date: { $numberLong: "9999999999999" } };
141
139
142
response.json(inventoryResponse);
140
143
};
141
144
@@ -253,7 +253,8 @@ export interface IInventoryResponse {
253
253
NemesisAbandonedRewards: string[];
254
254
DailyAffiliationKahl: number;
255
255
LastInventorySync: IOid;
256
NextRefill: IMongoDate;
256
NextRefill: IMongoDate; // Next time argon crystals will have a decay tick
257
FoundToday?: IMiscItem[]; // for Argon Crystals
257
258
ActiveLandscapeTraps: any[];
258
259
EvolutionProgress?: IEvolutionProgress[];
259
260
RepVotes: any[];