summaryrefslogtreecommitdiff
path: root/sfinv_page.lua
diff options
context:
space:
mode:
authorAlexander Weber <web.alexander@web.de>2017-06-18 17:56:24 +0200
committerAlexander Weber <web.alexander@web.de>2017-06-18 17:56:24 +0200
commit920061c0f190d6e79bf6720c983bf1b24aba4bc7 (patch)
tree39802ce3bb214b2616c095a8d1c03688f8bb00cb /sfinv_page.lua
parent50e6c9e2d01bbeb04be7fcaf58ff5233125b3ff3 (diff)
finished work on private player skins support
Diffstat (limited to 'sfinv_page.lua')
-rw-r--r--sfinv_page.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfinv_page.lua b/sfinv_page.lua
index 5fcd6e2..c462efe 100644
--- a/sfinv_page.lua
+++ b/sfinv_page.lua
@@ -81,7 +81,7 @@ sfinv.register_page("skins:overview", {
title = "Skins",
get = function(self, player, context)
-- collect skins data
- context.skins_list = skins.get_skinlist()
+ context.skins_list = skins.get_skinlist("player:"..player:get_player_name(), true)
context.total_pages = 1
for i, skin in ipairs(context.skins_list ) do
local page = math.floor((i-1) / 16)+1