ClientSingletonRepository.getUserInterface().addEventLine(new HeaderLessEventLine(text, type));
} else if (event.getName().equals("text")) {
// public chat
ClientSingletonRepository.getUserInterface().addEventLine(new StandardHeaderedEventLine(name, event.get("text")));
}
}
// old style text attribute
if (object.has("text")) {
ClientSingletonRepository.getUserInterface().addEventLine(new StandardHeaderedEventLine(name, object.get("text")));
}
}
} catch (final Exception e) {
e.printStackTrace();
}