From 7df6363aa0247068205a09815721164813849b19 Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Sun, 7 Jan 2018 14:50:22 +0100 Subject: 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() --- unified_inventory_page.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unified_inventory_page.lua') 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() -- cgit v1.2.3