fix colorcodes in death message

This commit is contained in:
nikky 2018-05-26 00:05:32 +02:00
parent 451de594cd
commit 6cab3c9838
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ object DeathHandler {
damageType: String
) {
if (cfg.outgoing.death.enable) {
var msg = deathMessage.replace(player, player.stripColorOut.antiping)
var msg = deathMessage.stripColorOut.replace(player, player.stripColorOut.antiping)
if (cfg.outgoing.death.damageType) {
val emojis = cfg.outgoing.death.damageTypeMapping[damageType]?.split(' ')
?: listOf("\uD83D\uDC7B unknown type '$damageType'")