Added in player_inv to the write stream