Improve reorderHideoutAreasWithResouceInputs() debug messaging

This commit is contained in:
Dev 2024-01-29 10:25:14 +00:00
parent e579cac907
commit dbc6bd9a0b

View File

@ -765,10 +765,10 @@ export class ProfileFixerService
for (const areaId of areasToCheck) for (const areaId of areasToCheck)
{ {
const area = pmcProfile.Hideout.Areas.find((x) => x.type === areaId); const area = pmcProfile.Hideout.Areas.find((area) => area.type === areaId);
if (!area) if (!area)
{ {
this.logger.debug(`unable to sort ${areaId} slots, no area found`); this.logger.debug(`unable to sort: ${area.type} (${areaId}) slots, no area found`);
continue; continue;
} }