mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 09:31:07 +01:00
Fix crash in awards mod
This commit is contained in:
parent
01eb39b62f
commit
05152589fa
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ function awards.show_to(name, to, sid, text)
|
||||||
minetest.chat_send_player(to, S("You have not gotten any awards."))
|
minetest.chat_send_player(to, S("You have not gotten any awards."))
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
minetest.chat_send_player(to, S("@1’s awards:"), name)
|
minetest.chat_send_player(to, S("@1’s awards:", name))
|
||||||
|
|
||||||
for _, str in pairs(awards.players[name].unlocked) do
|
for _, str in pairs(awards.players[name].unlocked) do
|
||||||
local def = awards.def[str]
|
local def = awards.def[str]
|
||||||
|
|
Loading…
Reference in a new issue