summaryrefslogtreecommitdiff
path: root/chat_commands.lua
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-04-04 17:43:44 +0100
committerrubenwardy <rw@rubenwardy.com>2018-04-04 17:43:44 +0100
commit72cc346c35d3610c2367d7dbb02e130ac8a96411 (patch)
tree2856e0f6e66c3c169c385888d3411ee1436560df /chat_commands.lua
parent5de9dcb7976f1c581601ab876d6bf3087991c4f6 (diff)
Rename awards.def to awards.registered_awards
Diffstat (limited to 'chat_commands.lua')
-rw-r--r--chat_commands.lua2
1 files changed, 1 insertions, 1 deletions
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("<achievement ID>"),
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