fix(webui): being unable to give correct Zaw Strike item

This commit is contained in:
Sainan 2024-06-17 23:39:27 +02:00
parent e8d7e17611
commit edc8803519

View File

@ -43,7 +43,9 @@ const getItemListsController: RequestHandler = (_req, res) => {
item.category == "Misc" ||
item.category == "Resources" ||
item.category == "Fish" ||
((item as any).productCategory == "Pistols" && (item as MinWeapon).totalDamage == 0)
((item as any).productCategory == "Pistols" &&
(item as MinWeapon).totalDamage == 0 &&
!item.excludeFromCodex) // exclude Zaw Strike PvP variant
)
),
mods,