返回提交历史
Modified
src/services/inventoryService.ts
+1
-1
XFEstudio/SpaceNinjaServer
chore: handle ExtraRemaining being set to 0 (#4120)
Closes #4119 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/4120 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
86d94acf
代码差异
1 个文件
+1
-1
@@ -2326,7 +2326,7 @@ export const applyClientEquipmentUpdates = <K extends TEquipmentKey>(
2326
2326
InfestationDate.$date.$numberLong == "2147483647000" ? new Date(0) : fromMongoDate(InfestationDate);
2327
2327
}
2328
2328
2329
if (ExtraRemaining) {
2329
if (ExtraRemaining !== undefined) {
2330
2330
if (version_compare(buildLabel, gameToBuildVersion["10.3.3"]) >= 0) {
2331
2331
if (ExtraRemaining > 0) {
2332
2332
throw new Error(