Added some checks for adding a new player to core data