if(CraftBookPlugin.inst().getUUIDMappings().getUUID(namespace) != null) continue;
OfflinePlayer player = Bukkit.getOfflinePlayer(namespace);
if(player.hasPlayedBefore()) {
try {
ProfileService resolver = HttpRepositoryService.forMinecraft();
Profile profile = resolver.findByName(player.getName()); // May be null
UUID uuid = profile.getUniqueId();
line = StringUtils.replace(line, var, var.replace(namespace, CraftBookPlugin.inst().getUUIDMappings().getCBID(uuid)));
} catch (Exception e) {
e.printStackTrace();
}
}