public static Optional<PlayerProfile> lookup(String name){
  if (Bukkit.getPlayerExact(name) != null) {
    return Optional.of(fromPlayer(Bukkit.getPlayerExact(name)));
  }
  if (nameCache.contains(name))   Optional.of(nameCache.get(name));
  List<PlayerProfile> response=postNames(ImmutableList.of(name));
  if (response == null)   return Optional.empty();
  if (response.isEmpty())   return Optional.empty();
  return Optional.of(response.get(0));
}

public static Optional < PlayerProfile > lookup ( String name ) { if ( Bukkit . getPlayerExact ( name ) != null ) { return Optional . of ( fromPlayer ( Bukkit . getPlayerExact ( name ) ) ) ; } if ( nameCache . contains ( name ) ) Optional . of ( nameCache . get ( name ) ) ; List < PlayerProfile > response = postNames ( ImmutableList . of ( name ) ) ; if ( response == null ) return Optional . empty ( ) ; if ( response . isEmpty ( ) ) return Optional . empty ( ) ; return Optional . of ( response . get ( 0 ) ) ; }
lookup a profile with the given name the reuturned player profile doesn ' t include properties if properties are neaded , proceed to use a uuid lookup
