public static String solveName(String notSolved) {
AtomicReference<String> mb = new AtomicReference<>("FATAL ERROR");
Objects.requireNonNull(mc.getNetworkHandler()).getListedPlayerListEntries().forEach(player -> {
if (notSolved.contains(player.getProfile().getName())) {
mb.set(player.getProfile().getName());
}
});
return mb.get();
}