Added clause to prevent taking a piece of the same color as the current player.
Added clause to prevent taking a piece of the same color as the current player.

aweinstock314/chess-server,frerich/chess-server