return create().setText("");
}
public static ChatComponent text(String text) {
return create().setText(text);
}
<BUG>public static ChatComponent fromJson(JsonObject json) {
</BUG>
ChatComponent cc = create();
if (json.has("text")) {
<BUG>cc.setText(json.get("text").getAsString());
</BUG>
}

return create().setText("");
}
public static ChatComponent text(String text) {
return create().setText(text);
}
public static ChatComponent fromJson(JSONObject json) {
ChatComponent cc = create();
if (json.has("text")) {
cc.setText(json.getString("text"));
}
