From ae3b43309818991c14116f1e3cde7fe32af0f42b Mon Sep 17 00:00:00 2001 From: kay27 Date: Tue, 13 Jul 2021 00:40:45 +0400 Subject: [PATCH] Fix crash on making an achievement with awards disabled --- 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 49b11a6cf..42ead82e0 100644 --- a/mods/HUD/awards/api.lua +++ b/mods/HUD/awards/api.lua @@ -472,7 +472,7 @@ function awards.show_to(name, to, sid, text) name = to end if name == to and awards.player(to).disabled then - minetest.chat_send_player(S("You've disabled awards. Type /awards enable to reenable.")) + minetest.chat_send_player(to, S("You've disabled awards. Type /awards enable to reenable.")) return end if text then