From 16e06bd932f5393319e24a34d1a9aadbc29c9a9e Mon Sep 17 00:00:00 2001 From: Video Date: Wed, 7 Apr 2021 19:45:03 -0600 Subject: [PATCH] Forgot I had this there --- .../totalfreedommod/discord/DiscordToAdminChatListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/discord/DiscordToAdminChatListener.java b/src/main/java/me/totalfreedom/totalfreedommod/discord/DiscordToAdminChatListener.java index 84e1dc32..633b0e8f 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/discord/DiscordToAdminChatListener.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/discord/DiscordToAdminChatListener.java @@ -85,7 +85,7 @@ public class DiscordToAdminChatListener extends ListenerAdapter { for (Message.Attachment attachment : msg.getAttachments()) { - TextComponent text = new TextComponent((msg.getContentDisplay().isEmpty() ? "" : " ") + mediamessage); + TextComponent text = new TextComponent(mediamessage); text.setClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, attachment.getUrl())); if (!msg.getContentDisplay().isEmpty()) {