summaryrefslogtreecommitdiff
path: root/skinlist.lua
diff options
context:
space:
mode:
Diffstat (limited to 'skinlist.lua')
-rw-r--r--skinlist.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/skinlist.lua b/skinlist.lua
index 0a06f5d..5ed5e12 100644
--- a/skinlist.lua
+++ b/skinlist.lua
@@ -75,7 +75,7 @@ end
function skins.get_skinlist_for_player(playername)
local skinslist = {}
for _, skin in pairs(skins.meta) do
- if skin:is_applicable_for_player(playername) then
+ if skin:is_applicable_for_player(playername) and skin:get_meta("in_inventory_list") ~= false then
table.insert(skinslist, skin)
end
end