From 72cc346c35d3610c2367d7dbb02e130ac8a96411 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 4 Apr 2018 17:43:44 +0100 Subject: Rename awards.def to awards.registered_awards --- chat_commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chat_commands.lua') diff --git a/chat_commands.lua b/chat_commands.lua index 3f4ed68..c85d1ed 100644 --- a/chat_commands.lua +++ b/chat_commands.lua @@ -42,7 +42,7 @@ minetest.register_chatcommand("awd", { params = S(""), description = S("Show details of an achievement"), func = function(name, param) - local def = awards.def[param] + local def = awards.registered_awards[param] if def then minetest.chat_send_player(name, string.format(S("%s: %s"), def.title, def.description)) else -- cgit v1.2.3