SteamWar/FightSystem
Archiviert
13
1

Color adaptions

Dieser Commit ist enthalten in:
lixfel 2019-02-23 13:37:33 +01:00
Ursprung ff9491e4ef
Commit 6f02da7ff2

Datei anzeigen

@ -29,13 +29,13 @@ public class PlayerChatListener implements Listener {
if(message.startsWith(teamChatDetection)){ if(message.startsWith(teamChatDetection)){
fightTeam.broadcast(prefixColorCode + player.getName() + "» " + prefixColorCode + message); fightTeam.broadcast(prefixColorCode + player.getName() + "» " + prefixColorCode + message);
} else { } else {
Bukkit.broadcastMessage(prefixColorCode + teamName + " " + player.getName() + " §8» " + message); Bukkit.broadcastMessage(prefixColorCode + teamName + " " + player.getName() + " §8» §7" + message);
} }
}else{ }else{
Bukkit.broadcastMessage(player.getName() + " §8» " + message); Bukkit.broadcastMessage("§7" + player.getName() + " §8» §7" + message);
} }
event.setCancelled(true); event.setCancelled(true);
} }
} }