1
0
Fork 0

Include the killers role in the killed message

This commit is contained in:
Moritz Ruth 2020-06-14 00:46:35 +02:00
parent b60b9eddb1
commit 258673c241
No known key found for this signature in database
GPG key ID: AFD57E23E753841B

View file

@ -66,7 +66,8 @@ class TTTPlayer(player: Player, role: Role) {
player.sendMessage(TTTPlugin.prefix + player.sendMessage(TTTPlugin.prefix +
if (killer == null) "${ChatColor.RED}${ChatColor.BOLD}Du bist gestorben" if (killer == null) "${ChatColor.RED}${ChatColor.BOLD}Du bist gestorben"
else "${ChatColor.RED}${ChatColor.BOLD}Du wurdest von " + else "${ChatColor.RED}${ChatColor.BOLD}Du wurdest von " +
"${ChatColor.RESET}${killer.player.displayName}" + "${ChatColor.RESET}${killer.player.displayName} " +
"${ChatColor.RESET}(${killer.role.coloredDisplayName}${ChatColor.RESET}) " +
" ${ChatColor.RED}${ChatColor.BOLD}getötet" " ${ChatColor.RED}${ChatColor.BOLD}getötet"
) )