-fixed int i = Integer.parseInt(player.getPosition()); removed "-1"