activeChar.sendPacket(Msg.YOU_LACK_THE_FUNDS_NEEDED_TO_PAY_FOR_THIS_TRANSACTION);
return;
}
Warehouse warehouse = new PcFreight(_objectID);
// Item Max Limit Check
if(_items.size() + warehouse.listItems(ItemClass.ALL).length > activeChar.getFreightLimit())
{
activeChar.sendPacket(Msg.THE_CAPACITY_OF_THE_WAREHOUSE_HAS_BEEN_EXCEEDED);
return;
}
// Transfer the items from activeChar's Inventory Instance to destChar's Freight Instance