Include the killers role in the killed message
This commit is contained in:
parent
b60b9eddb1
commit
258673c241
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Reference in a new issue