From 68ac84da83b404e32fee2a52f46f644ffe387ffb Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Sat, 27 Feb 2021 14:51:50 +0100 Subject: [PATCH] Proper archievement chat messages --- mods/HUD/awards/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/HUD/awards/api.lua b/mods/HUD/awards/api.lua index 6dab765b90..bfe10e81d9 100644 --- a/mods/HUD/awards/api.lua +++ b/mods/HUD/awards/api.lua @@ -214,7 +214,7 @@ function awards.unlock(name, award) -- Get award minetest.log("action", name.." has gotten award "..award) - minetest.chat_send_all("<"..name.."> "..S("Achievement gotten: @1", award)) + minetest.chat_send_all(name .. " has made the archievement " .. minetest.colorize("#51EF4E", "[" .. (awdef.title or award) .. "]")) data.unlocked[award] = award awards.save()