// Potion filtering
if (itemType == GItemType.HealthPotion)
{
int potionsInBackPack = ZetaDia.Me.Inventory.Backpack.Where(p => p.ItemType == ItemType.Potion).Sum(p => p.ItemStackQuantity);
if (potionsInBackPack >= Settings.Loot.Pickup.PotionCount)
return false;
else
return true;
}