Modified Player.java