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: inverted condition (#4110)

Closes #4109 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/4110 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

96808365
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified src/controllers/api/inventoryController.ts +1 -1
@@ -784,7 +784,7 @@ export const getInventoryResponse = async (
784 784 for (const item of inventoryResponse.CurrentLoadOutIds) {
785 785 toLegacyOid(item);
786 786 }
787 if (version_compare(buildLabel, "2015.03.19.00.00") <= 0) {
787 if (version_compare(buildLabel, "2015.03.19.00.00") > 0) {
788 788 for (const category of loadoutKeysLegacy) {
789 789 if (category in inventoryResponse.LoadOutPresets) {
790 790 for (const item of inventoryResponse.LoadOutPresets[category]) {