Add uv wrapped 1.8 hand model (#74)

This commit is contained in:
ZyuzlyaevPavel
2022-10-06 02:15:03 +07:00
committed by GitHub
parent b769824d24
commit e275159dd0
5 changed files with 8 additions and 5 deletions

View File

@@ -51,9 +51,7 @@ for _, fn in pairs(skins_dir_list) do
local skin_format = skins.get_skin_format(file)
skin_obj:set_meta("format", skin_format)
file:close()
if skin_format == "1.0" then
skin_obj:set_hand_from_texture()
end
skin_obj:set_hand_from_texture()
file = io.open(skins.modpath.."/meta/"..name..".txt", "r")
if file then
local data = string.split(file:read("*all"), "\n", 3)