L2Summon activeChar = (L2Summon) playable;
if (activeChar.getInventory().getInventoryItemCount(potion, 0) > 0)
{
L2ItemInstance item = activeChar.getInventory().getItemByItemId(potion);
activeChar.destroyItem("Consume", item.getObjectId(), 1, null, false);
}
else
{
if (Config.DEBUG)
_log.log(Level.WARNING, "Attention: playable " + playable.getName() + " has not potions " + potion + "!");