diff --git a/src/de/steamwar/bungeecore/Message.java b/src/de/steamwar/bungeecore/Message.java index b253b1d..1f1213f 100644 --- a/src/de/steamwar/bungeecore/Message.java +++ b/src/de/steamwar/bungeecore/Message.java @@ -108,7 +108,7 @@ public class Message { if(type == ChatMessageType.CHAT && !sender.chatShown()) return; - sender.send(prefixed, type, new Message("PLAIN_STRING", onHover), onClick, new Message(message, params)); + sender.send(prefixed, type, onHover != null ? new Message("PLAIN_STRING", onHover) : null, onClick, new Message(message, params)); } public static void broadcast(String message, Object... params) {