返回提交历史
Modified
src/controllers/api/inventoryController.ts
+1
-1
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
代码差异
1 个文件
+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]) {