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

XFESpaceNinjaServer

A simple server for a small space ninja game

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

XFEstudio/XFESpaceNinjaServer

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

代码差异

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