changed playerIndex to a player object in AcceptTrade, DiscardCardsCommand, and MaritimeTradeCommand