Archiviert
1
0

Fix broeadcasts

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2022-04-22 17:26:28 +02:00
Ursprung 329d80f037
Commit 015a3cfa52

Datei anzeigen

@ -116,7 +116,7 @@ public class Message {
} }
public static void broadcast(String message, String onHover, ClickEvent onClick, Object... params) { 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) { public static void team(String message, Object... params) {