Fixed implementation of .equals for player