XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 0
返回提交历史

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
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified src/services/inventoryService.ts +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(