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(webui): don't add helminth resources to add items datalist (#3784)

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

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

代码差异

1 个文件 +3 -0
Modified src/controllers/custom/getItemListsController.ts +3 -0
@@ -235,6 +235,9 @@ const getItemListsController: RequestHandler = (req, response) => {
235 235 }
236 236 }
237 237 for (const [uniqueName, item] of Object.entries(ExportResources)) {
238 if (item.productCategory == "SupplyDrop") {
239 continue; // skip helminth resources
240 }
238 241 let name = getNormalizedString(item.name, lang);
239 242 if ("dissectionParts" in item) {
240 243 name = getString("/Lotus/Language/Fish/FishDisplayName", lang).split("|FISH_NAME|").join(name);