I think it only checks that the chosen piece matches the color of the turn, but not that the player sending it is the right color.
I think it only checks that the chosen piece matches the color of the turn, but not that the player sending it is the right color.