1 if minetest
.get_modpath("unified_inventory") ~= nil then
2 local S
= minetest
.get_translator("awards")
4 unified_inventory
.register_button("awards", {
6 image
= "awards_ui_icon.png",
8 action
= function(player
)
9 local name
= player
:get_player_name()
10 awards
.show_to(name
, name
, nil, false)