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)
|
if (!rootItemToAdjust.upd)
|
||||||
{
|
{
|
||||||
|
this.logger.warning(`Fence Item: ${rootItemToAdjust._tpl} lacks a upd object, adding`);
|
||||||
rootItemToAdjust.upd = {};
|
rootItemToAdjust.upd = {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user