diff --git a/src/de/steamwar/misslewars/listener/ChatListener.java b/src/de/steamwar/misslewars/listener/ChatListener.java index b897578..3e039b7 100644 --- a/src/de/steamwar/misslewars/listener/ChatListener.java +++ b/src/de/steamwar/misslewars/listener/ChatListener.java @@ -46,7 +46,7 @@ public class ChatListener extends BasicListener { Bukkit.broadcastMessage(message); } else { if (e.getMessage().startsWith("+")) { - String teamMessage = "§8[" + team.getColorCode() + "TEAM§8] " + message.substring(1); + String teamMessage = "§8[" + team.getColorCode() + "TEAM§8] " + e.getPlayer().getDisplayName() + "§8» §7" + e.getMessage().substring(1); team.getPlayers().forEach(player -> player.sendMessage(teamMessage)); } else { Bukkit.broadcastMessage(message);