From 015a3cfa52e983908f632a92a0c822b40c370ee1 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Fri, 22 Apr 2022 17:26:28 +0200 Subject: [PATCH] Fix broeadcasts Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/Message.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/Message.java b/src/de/steamwar/bungeecore/Message.java index 90ee341..b253b1d 100644 --- a/src/de/steamwar/bungeecore/Message.java +++ b/src/de/steamwar/bungeecore/Message.java @@ -116,7 +116,7 @@ public class Message { } public static void broadcast(String message, String onHover, ClickEvent onClick, Object... params) { - ChatSender.allReceivers().forEach(player -> player.prefixless(message, onHover != null ? new Message(onHover, params) : null, onClick, params)); + ChatSender.allReceivers().forEach(player -> player.system(message, onHover != null ? new Message(onHover, params) : null, onClick, params)); } public static void team(String message, Object... params) {