update i3

This commit is contained in:
unknown 2022-03-05 17:09:21 -05:00
parent 5e6da3d92f
commit 0e35fc7741
2 changed files with 6 additions and 2 deletions

@ -1 +1 @@
Subproject commit 9e50f58f5bcaa8be46a12aecf4f45f49d4eaabd5
Subproject commit 518ed971cac422404025d01974ca38ed7ae0a382

View File

@ -30,7 +30,7 @@ local key_table = {}
for _, sn in pairs(minetest.get_dir_list(minetest.get_modpath("fl_player").."/textures")) do
local nn = string.split(string.split(sn, "_")[2],".")
table.insert(data_table, {_texture = sn, name = nn[1]})
table.insert(data_table, {_texture = sn, name = nn[1], get_preview = function() return "" end})
key_table[sn] = 1
end
@ -211,3 +211,7 @@ function skins.get_player_skin(player)
local nn = string.split(string.split(skin, "_")[2],".")
return {name = nn[1], _texture = skin}
end
function skins.get_preview()
return ""
end