Update Player.java

The if-else statement was missing the curly brackets. I didn't see anything else that might be producing an error.