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

fix(webui): use excludeFromCodex to detect arcane imposters (#2761)

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

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

代码差异

1 个文件 +1 -1
Modified src/controllers/custom/getItemListsController.ts +1 -1
@@ -313,7 +313,7 @@ const getItemListsController: RequestHandler = (req, response) => {
313 313 uniqueName,
314 314 name: getString(arcane.name, lang)
315 315 };
316 if (arcane.isFrivolous) {
316 if (arcane.excludeFromCodex) {
317 317 mod.badReason = "frivolous";
318 318 }
319 319 res.mods.push(mod);