Merge branch 'chatRework' into 'master'
Color adaptions See merge request Yaruma3341/fightsystem!5
Dieser Commit ist enthalten in:
Commit
b0f5833d59
@ -29,10 +29,10 @@ 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);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren