Merge branch 'chatRework' into 'master'
Color adaptions See merge request Yaruma3341/fightsystem!5
Dieser Commit ist enthalten in:
Commit
b0f5833d59
@ -29,13 +29,13 @@ public class PlayerChatListener implements Listener {
|
||||
if(message.startsWith(teamChatDetection)){
|
||||
fightTeam.broadcast(prefixColorCode + player.getName() + "» " + prefixColorCode + message);
|
||||
} else {
|
||||
Bukkit.broadcastMessage(prefixColorCode + teamName + " " + player.getName() + " §8» " + message);
|
||||
Bukkit.broadcastMessage(prefixColorCode + teamName + " " + player.getName() + " §8» §7" + message);
|
||||
}
|
||||
}else{
|
||||
Bukkit.broadcastMessage(player.getName() + " §8» " + message);
|
||||
Bukkit.broadcastMessage("§7" + player.getName() + " §8» §7" + message);
|
||||
}
|
||||
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren