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: give ample duplicates of ship decos with unlockAllShipDecorations (#1651)

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

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

代码差异

1 个文件 +1 -1
Modified src/controllers/api/inventoryController.ts +1 -1
@@ -149,7 +149,7 @@ export const getInventoryResponse = async (
149 149 inventoryResponse.ShipDecorations = [];
150 150 for (const [uniqueName, item] of Object.entries(ExportResources)) {
151 151 if (item.productCategory == "ShipDecorations") {
152 inventoryResponse.ShipDecorations.push({ ItemType: uniqueName, ItemCount: 1 });
152 inventoryResponse.ShipDecorations.push({ ItemType: uniqueName, ItemCount: 999_999 });
153 153 }
154 154 }
155 155 }