Fix infinite loop in Player.java