diff options
Diffstat (limited to 'sfinv_page.lua')
-rw-r--r-- | sfinv_page.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfinv_page.lua b/sfinv_page.lua index e90dd38..f8d627b 100644 --- a/sfinv_page.lua +++ b/sfinv_page.lua @@ -4,7 +4,7 @@ local S = skins.S local function get_formspec(player, context) local skin = skins.get_player_skin(player) local formspec = skins.get_skin_info_formspec(skin) - formspec = formspec..skins.get_skin_selection_formspec(context, 4) + formspec = formspec..skins.get_skin_selection_formspec(player, context, 4) return formspec end @@ -12,7 +12,6 @@ sfinv.register_page("skins:overview", { title = "Skins", get = function(self, player, context) -- collect skins data - context = skins.rebuild_formspec_context(player, context) return sfinv.make_formspec(player, context, get_formspec(player, context)) end, on_player_receive_fields = function(self, player, context, fields) |