summaryrefslogtreecommitdiff
path: root/chat_commands.lua
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-04-04 22:15:43 +0100
committerGitHub <noreply@github.com>2018-04-04 22:15:43 +0100
commit0574d0375e6f4db625d2155dea6b755fc47f8514 (patch)
treedcb68e21ff7e3f40e244e586b2e5cea3de5db507 /chat_commands.lua
parent2c4da0b88a29c74b2990efe40e8f26ed6ddac9f9 (diff)
parent07997a54f4c082b6c2499f904825fb51394c9bf5 (diff)
Merge dev branch into masterv3.0.0
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