mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 06:10:44 -05:00
Added logging to removeRandomItemFromAssorts()
when no upd object found
This commit is contained in:
parent
d2cf495426
commit
8366dd355d
@ -407,6 +407,7 @@ export class FenceService
|
||||
{
|
||||
if (!rootItemToAdjust.upd)
|
||||
{
|
||||
this.logger.warning(`Fence Item: ${rootItemToAdjust._tpl} lacks a upd object, adding`);
|
||||
rootItemToAdjust.upd = {};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user