You must be an observer to open player inventories.