public bool Decrement(Item item, ushort amount = 1)
{
if (!this.Has(item) || item.Info.Amount == 0 || item.Info.Amount < amount)
return false;
item.Info.Amount -= amount;
if (item.Info.Amount > 0 || item.Data.StackType == StackType.Sac)
{
ChannelServer.Instance.Events.OnPlayerRemovesItem(_creature, item.Info.Id, amount);
Send.ItemAmount(_creature, item);
}
else
{
this.Remove(item);
}
return true;
}