From da5b2443f27b02f86ac09fb1a7f1a6d89b1e8385 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 19 Mar 2019 08:43:11 +0100 Subject: [PATCH] Fix crash when players kill each other --- mods/HUD/mcl_death_messages/init.lua | 4 ++-- mods/HUD/mcl_death_messages/locale/mcl_death_messages.de.tr | 4 ++-- mods/HUD/mcl_death_messages/locale/template.txt | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mods/HUD/mcl_death_messages/init.lua b/mods/HUD/mcl_death_messages/init.lua index dc294e8daa..7a55f499e4 100644 --- a/mods/HUD/mcl_death_messages/init.lua +++ b/mods/HUD/mcl_death_messages/init.lua @@ -10,7 +10,7 @@ local msgs = { N("@1 has been killed with an arrow."), }, ["arrow_name"] = { - N("@1 was shot by an arrow from %s."), + N("@1 was shot by an arrow from @2."), }, ["drown"] = { N("@1 forgot to breathe."), @@ -18,7 +18,7 @@ local msgs = { N("@1 ran out of oxygen."), }, ["murder"] = { - N("@1 was killed by %s."), + N("@1 was killed by @2."), }, ["mob_kill"] = { N("@1 was killed by a mob."), diff --git a/mods/HUD/mcl_death_messages/locale/mcl_death_messages.de.tr b/mods/HUD/mcl_death_messages/locale/mcl_death_messages.de.tr index 665f6f688e..cc1438056d 100644 --- a/mods/HUD/mcl_death_messages/locale/mcl_death_messages.de.tr +++ b/mods/HUD/mcl_death_messages/locale/mcl_death_messages.de.tr @@ -1,11 +1,11 @@ # textdomain: mcl_death_messages @1 was fatally hit by an arrow.=@1 wurde tödlich von einem Pfeil getroffen. @1 has been killed with an arrow.=@1 wurde mit einem Pfeil getötet. -@1 was shot by an arrow from @1.=@1 wurde mit einem Pfeil von @1 abgeschossen. +@1 was shot by an arrow from @2.=@1 wurde mit einem Pfeil von @2 abgeschossen. @1 forgot to breathe.=@1 vergaß, zu atmen. @1 drowned.=@1 ertrank. @1 ran out of oxygen.=@1 ging die Luft aus. -@1 was killed by @1.=@1 wurde von @1 getötet. +@1 was killed by @2.=@1 wurde von @2 getötet. @1 was killed by a mob.=@1 wurde von einem Mob getötet. @1 was burned to death by a blaze's fireball.=@1 wurde von einem Feuerball einer Lohe zu Tode verbrannt. @1 was killed by a fireball from a blaze.=@1 wurde von einem Feuerball einer Lohe getötet. diff --git a/mods/HUD/mcl_death_messages/locale/template.txt b/mods/HUD/mcl_death_messages/locale/template.txt index ce809b3533..95b2375b16 100644 --- a/mods/HUD/mcl_death_messages/locale/template.txt +++ b/mods/HUD/mcl_death_messages/locale/template.txt @@ -1,11 +1,11 @@ # textdomain: mcl_death_messages @1 was fatally hit by an arrow.= @1 has been killed with an arrow.= -@1 was shot by an arrow from @1.= +@1 was shot by an arrow from @2.= @1 forgot to breathe.= @1 drowned.= @1 ran out of oxygen.= -@1 was killed by @1.= +@1 was killed by @2.= @1 was killed by a mob.= @1 was burned to death by a blaze's fireball.= @1 was killed by a fireball from a blaze.=