private static UUID getCachedUUID(String playerName) {
    // Already found
    if (cachedUUIDs.containsKey(playerName))
      return cachedUUIDs.get(playerName);

    // Search for lowercase matches
    for (final String loggedName : cachedUUIDs.keySet()) {
      if (loggedName.equalsIgnoreCase(playerName)) {
        playerName = loggedName;
        break;
      }
    }

    if (!cachedUUIDs.containsKey(playerName))
      return null;

    // Grab UUID
    return cachedUUIDs.get(playerName);
  }