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

SpaceNinjaServer

A simple server for a small space ninja game

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

XFEstudio/SpaceNinjaServer

chore: remove unused MoaPets array from getItemLists

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

代码差异

1 个文件 +1 -3
Modified src/controllers/custom/getItemListsController.ts +1 -3
@@ -51,7 +51,6 @@ interface ItemLists {
51 51 OperatorAmps: ListedItem[];
52 52 QuestKeys: ListedItem[];
53 53 KubrowPets: ListedItem[];
54 MoaPets: ListedItem[];
55 54 mods: ListedItem[];
56 55 }
57 56
@@ -83,7 +82,6 @@ const getItemListsController: RequestHandler = (req, response) => {
83 82 OperatorAmps: [],
84 83 QuestKeys: [],
85 84 KubrowPets: [],
86 MoaPets: [],
87 85 mods: []
88 86 };
89 87 for (const [uniqueName, item] of Object.entries(ExportWarframes)) {
@@ -94,7 +92,7 @@ const getItemListsController: RequestHandler = (req, response) => {
94 92 });
95 93 }
96 94 for (const [uniqueName, item] of Object.entries(ExportSentinels)) {
97 if (item.productCategory != "SpecialItems") {
95 if (item.productCategory == "Sentinels" || item.productCategory == "KubrowPets") {
98 96 res[item.productCategory].push({
99 97 uniqueName,
100 98 name: getString(item.name, lang),