1
0
Fork 0

fix crash iteself

This commit is contained in:
chmodsayshello 2022-10-31 16:19:38 +01:00
parent a1637486bb
commit 910b3d57ac
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ function awards.show_to(name, to, sid, text)
name = to name = to
end end
if name == to and awards.player(to).disabled then 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(name,S("You've disabled awards. Type /awards enable to reenable."))
return return
end end
if text then if text then