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