返回提交历史
Modified
src/services/inventoryService.ts
+1
-1
XFEstudio/SpaceNinjaServer
fix: treat ExtraRemaining from U9 like an absolute value (#3931)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3931 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
e68e552f
代码差异
1 个文件
+1
-1
@@ -2256,7 +2256,7 @@ export const applyClientEquipmentUpdates = (
2256
2256
}
2257
2257
2258
2258
if (ExtraRemaining) {
2259
if (!buildLabel || version_compare(buildLabel, gameToBuildVersion["9.1.0"]) >= 0) {
2259
if (!buildLabel || version_compare(buildLabel, gameToBuildVersion["10.3.3"]) >= 0) {
2260
2260
if (ExtraRemaining > 0) {
2261
2261
throw new Error(
2262
2262
`unexpected value for ExtraRemaining (${ExtraRemaining}); expected a delta from this client`