SteamWar/SpigotCore
Archiviert
13
0

Marking Chat as Local

Dieser Commit ist enthalten in:
Lixfel 2019-08-02 17:01:05 +02:00
Ursprung 67fd740ca1
Commit 0ec1dd4a8c

Datei anzeigen

@ -10,7 +10,7 @@ public class ChattingEvent implements Listener {
@EventHandler @EventHandler
private void onChat(AsyncPlayerChatEvent event) { private void onChat(AsyncPlayerChatEvent event) {
Player player = event.getPlayer(); Player player = event.getPlayer();
event.setFormat(player.getDisplayName() + "§8» §7" + event.getMessage()); event.setFormat("§eLokal §r"+ player.getDisplayName() + "§8» §7" + event.getMessage());
} }
@EventHandler @EventHandler