summaryrefslogtreecommitdiff
path: root/sfinv_page.lua
diff options
context:
space:
mode:
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 c62e7e7..1d63163 100644
--- a/sfinv_page.lua
+++ b/sfinv_page.lua
@@ -84,7 +84,7 @@ sfinv.register_page("skins:overview", {
title = "Skins",
get = function(self, player, context)
-- collect skins data
- context.skins_list = skins.get_skinlist("player:"..player:get_player_name(), true)
+ context.skins_list = skins.get_skinlist_for_player(player:get_player_name())
context.total_pages = 1
for i, skin in ipairs(context.skins_list ) do
local page = math.floor((i-1) / 16)+1