mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2025-07-13 21:30:25 +02:00
Corrige la commande /awards.
Corrige l'affige des awards d'un joueur donné. Empêche le retour de l'inventaire sfinv quand on active ou desactive les awards d'un joueur.
This commit is contained in:
@ -168,7 +168,7 @@ function awards.show_to(name, to, sid, text)
|
||||
if name == "" or name == nil then
|
||||
name = to
|
||||
end
|
||||
local data = awards.player(to)
|
||||
local data = awards.player(name)
|
||||
if name == to and data.disabled then
|
||||
minetest.chat_send_player(name, S("You've disabled awards. Type /awards enable to reenable."))
|
||||
return
|
||||
|
Reference in New Issue
Block a user