DrakiaXYZ 8e91842d4c Resolve ItemBaseClassService cache error when iterating all items (!281)
The ItemBaseClassCache is only generated for items with a _type of 'Items', so before trying to look up an item in itemHasBaseClass, make sure the item also has a _type of 'Item'
Move `allDbItems` to a class variable since we need it for looking up the _type of the given template Id

This shouldn't require any changes to mods

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/281
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-04-08 17:40:04 +00:00
..
2024-02-05 19:03:26 -05:00
2023-03-03 15:23:46 +00:00
2023-10-29 22:20:34 +00:00
2023-03-03 15:23:46 +00:00
2023-11-16 21:42:06 +00:00
2023-12-12 09:50:46 +00:00
2023-11-16 21:42:06 +00:00
2024-03-16 16:11:24 -04:00
2024-03-29 18:43:36 +00:00
2023-11-06 19:39:13 +00:00
2023-11-06 19:39:13 +00:00
2023-11-16 21:42:06 +00:00
2023-11-15 21:12:40 -05:00