private static Map<String, String> shortToLongName = new HashMap<String, String>();
public static String getLastSeenName(UUID uuid) {
if (lastSeenName.containsKey(uuid)) {
return lastSeenName.get(uuid);
}
<BUG>if (Bukkit.getOfflinePlayer(uuid).getName() != null) {
String lastSeen = Bukkit.getOfflinePlayer(uuid).getName();
lastSeenName.put(uuid, lastSeen);</BUG>
return lastSeen;
}

private static Map<String, String> shortToLongName = new HashMap<String, String>();
public static String getLastSeenName(UUID uuid) {
if (lastSeenName.containsKey(uuid)) {
return lastSeenName.get(uuid);
}
OfflinePlayer player = Bukkit.getOfflinePlayer(uuid);
String lastSeen = player.getName();
if (lastSeen != null) {
lastSeenName.put(uuid, lastSeen);
return lastSeen;
}
