Add more logging around rewarding items (#1861)

This commit is contained in:
David Markowitz
2025-08-31 20:33:16 -07:00
committed by GitHub
parent 21a2ddcfd9
commit f9e74e6994
3 changed files with 7 additions and 2 deletions

View File

@@ -180,6 +180,7 @@ void InventoryComponent::AddItem(
const int32_t sourceType,
const bool bound,
int32_t preferredSlot) {
LOG("AddItem %i %i %s %s", lot, count, StringifiedEnum::ToString(lootSourceType).data(), StringifiedEnum::ToString(inventoryType).data());
if (count == 0) {
LOG("Attempted to add 0 of item (%i) to the inventory!", lot);