Removed redundant code from Player class