19013a478f
This resolves an issue where a mod with bad preset data is able to break loot generation Can be tested by changing the "\_id" property of an item preset in globals.json, and seeing the error output to the console. A better solution for the future may be to deprecate the "\_id" property entirely, and use just the object key, however that would have more far reaching changes compared to this simple fix Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/233 Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com> Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com> |
||
---|---|---|
.. | ||
callbacks | ||
context | ||
controllers | ||
di | ||
generators | ||
helpers | ||
ide | ||
loaders | ||
models | ||
routers | ||
servers | ||
services | ||
utils | ||
ErrorHandler.ts | ||
Program.ts |