diff options
author | Alexander Weber <web.alexander@web.de> | 2018-01-07 14:50:22 +0100 |
---|---|---|
committer | Alexander Weber <web.alexander@web.de> | 2018-01-07 14:50:22 +0100 |
commit | 7df6363aa0247068205a09815721164813849b19 (patch) | |
tree | 838b88f355c0c50aacea7fc7e00589a9eb9f9886 /unified_inventory_page.lua | |
parent | 71e05bbd6863ca91db16c386c671da77e8f9e9eb (diff) |
Rework private skins handling
-add skin:is_applicable_for_player(playername) method
- hide private skins in unified_inventory since not supported
- check player assignment in skins.assign_player_skin() + inherited to skins.set_player_skin()
Diffstat (limited to 'unified_inventory_page.lua')
-rw-r--r-- | unified_inventory_page.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unified_inventory_page.lua b/unified_inventory_page.lua index 58e8ae6..ebac196 100644 --- a/unified_inventory_page.lua +++ b/unified_inventory_page.lua @@ -7,7 +7,7 @@ end local dropdown_values = {} local skins_reftab = {} -local skins_list = skins.get_skinlist() +local skins_list = skins.get_skinlist_for_player() --public only unified_inventory.register_page("skins", { get_formspec = function(player) local name = player:get_player_name() |