private static long getLastCached(String playerName) {
    // Already found
    if (lastCached.containsKey(playerName))
      return lastCached.get(playerName);

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

    if (!lastCached.containsKey(playerName))
      return -1;

    // Grab last changed
    return lastCached.get(playerName);
  }