update i3
This commit is contained in:
parent
5e6da3d92f
commit
0e35fc7741
@ -1 +1 @@
|
|||||||
Subproject commit 9e50f58f5bcaa8be46a12aecf4f45f49d4eaabd5
|
Subproject commit 518ed971cac422404025d01974ca38ed7ae0a382
|
@ -30,7 +30,7 @@ local key_table = {}
|
|||||||
|
|
||||||
for _, sn in pairs(minetest.get_dir_list(minetest.get_modpath("fl_player").."/textures")) do
|
for _, sn in pairs(minetest.get_dir_list(minetest.get_modpath("fl_player").."/textures")) do
|
||||||
local nn = string.split(string.split(sn, "_")[2],".")
|
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
|
key_table[sn] = 1
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -211,3 +211,7 @@ function skins.get_player_skin(player)
|
|||||||
local nn = string.split(string.split(skin, "_")[2],".")
|
local nn = string.split(string.split(skin, "_")[2],".")
|
||||||
return {name = nn[1], _texture = skin}
|
return {name = nn[1], _texture = skin}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function skins.get_preview()
|
||||||
|
return ""
|
||||||
|
end
|
Loading…
x
Reference in New Issue
Block a user