Fixed bug in AddLootToCache that was causing combined pool to not be hydrated

This commit is contained in:
Chomp
2025-06-02 16:41:27 +01:00
parent 2cb720ab94
commit 74bdac7d9b
@@ -235,9 +235,10 @@ public class BotLootCacheService(
break;
}
// Add all items (if any) to combined pool (excluding secure)
if (itemPool.Count > 0 && containerType.Equals("securedcontainer", StringComparison.OrdinalIgnoreCase))
// If pool has items and items were going into a non-secure container pool, add to combined
if (itemPool.Count > 0 && !containerType.Equals("securedcontainer", StringComparison.OrdinalIgnoreCase))
{
// fill up 'combined' pool of all loot
AddItemsToPool(combinedLootPool, itemPool);
}
}