Prevented players switching out a Pokémon for itself
Prevented players switching out a Pokémon for itself

This could previously occur if the player send malformed input to the
server.

kyledovey/pokengine,kyledovey/pokengine,varkor/pokengine,varkor/pokengine