diff --git a/src/main/java/com/github/steveice10/mc/protocol/data/message/MessageSerializer.java b/src/main/java/com/github/steveice10/mc/protocol/data/message/MessageSerializer.java index 75e9b723..eb8eadeb 100644 --- a/src/main/java/com/github/steveice10/mc/protocol/data/message/MessageSerializer.java +++ b/src/main/java/com/github/steveice10/mc/protocol/data/message/MessageSerializer.java @@ -60,10 +60,6 @@ public class MessageSerializer { return toJson(message).toString(); } - public static String toJsonAsString(Message message) { - return toJson(message).getAsString(); - } - public static JsonElement toJson(Message message) { if(message instanceof TextMessage && message.getStyle().equals(MessageStyle.DEFAULT) && message.getExtra().isEmpty()) { return new JsonPrimitive(((TextMessage) message).getText());