Player class bug