Server/project/src
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
..
callbacks Add endpoint to allow getting all bot difficulty data in one call 2024-04-06 16:57:01 +01:00
context Formatting 2024-02-02 15:00:21 -05:00
controllers Added ability to override hideout craft times via config 2024-04-06 20:25:57 +01:00
di bundle-crc-cache (!274) 2024-03-29 18:43:36 +00:00
generators Fix issues with incorrectly configured airdrops (!280) 2024-04-08 17:39:08 +00:00
helpers Make sure trader has enough stock before selling (!278) 2024-04-06 21:22:41 +00:00
ide Adds bleedingmods Build Type 2024-03-16 16:11:24 -04:00
loaders bundle-crc-cache (!274) 2024-03-29 18:43:36 +00:00
models Implement weights for food/drink on bots 2024-04-08 12:31:51 +01:00
routers Add endpoint to allow getting all bot difficulty data in one call 2024-04-06 16:57:01 +01:00
servers bundle-crc-cache (!274) 2024-03-29 18:43:36 +00:00
services Resolve ItemBaseClassService cache error when iterating all items (!281) 2024-04-08 17:40:04 +00:00
utils Issue #246 Reduce server log retention time (!186) 2024-04-06 12:06:19 -04:00
ErrorHandler.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
Program.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00