improved debug messaging

This commit is contained in:
Dev 2024-11-06 19:37:02 +00:00
parent ad80c536f9
commit 30f8e14b9c

View File

@ -509,9 +509,9 @@ export class BotLootGenerator {
fitItemIntoContainerAttempts++;
if (fitItemIntoContainerAttempts >= 4) {
this.logger.debug(
`Failed to place item ${i} of ${totalItemCount} items into ${botRole} containers: ${equipmentSlots.join(
`Failed placing item: ${i} of: ${totalItemCount} items into: ${botRole} containers: ${equipmentSlots.join(
",",
)}. Tried ${fitItemIntoContainerAttempts} times, reason: ${
)}. Tried: ${fitItemIntoContainerAttempts} times, reason: ${
ItemAddedResult[itemAddedResult]
}, skipping`,
);