From 74d9428a66e462f91b8c67f12ce6520b54823de8 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Wed, 2 Apr 2025 09:52:24 -0700 Subject: [PATCH] fix(webui): ignore MiscItems that don't have a name (#1429) Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1429 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- src/controllers/custom/getItemListsController.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/custom/getItemListsController.ts b/src/controllers/custom/getItemListsController.ts index 5b3ee13b..d84d4aea 100644 --- a/src/controllers/custom/getItemListsController.ts +++ b/src/controllers/custom/getItemListsController.ts @@ -115,6 +115,7 @@ const getItemListsController: RequestHandler = (req, response) => { } } if ( + name && uniqueName.substr(0, 30) != "/Lotus/Types/Game/Projections/" && uniqueName != "/Lotus/Types/Gameplay/EntratiLab/Resources/EntratiLanthornBundle" ) {