forked from nalc/homedecor_modpack
add skinsdb hand support for wardrobe skins (#24)
* add skinsdb hand support for wardrobe skins * add compatibility to previous skinsdb version
This commit is contained in:
parent
694bfe5fe7
commit
2f0e52f978
|
@ -26,6 +26,9 @@ if skinsdb_mod_path then
|
|||
|
||||
skin_obj:set_preview("homedecor_clothes_"..skin_name.."_preview.png")
|
||||
skin_obj:set_texture("homedecor_clothes_"..skin_name..".png")
|
||||
if skin_obj.set_hand_from_texture then
|
||||
skin_obj:set_hand_from_texture()
|
||||
end
|
||||
skin_obj:set_meta("name", S("Wardrobe").." "..skin_name)
|
||||
skin_obj:set_meta("author", 'Calinou and Jordach')
|
||||
skin_obj:set_meta("license", 'CC-by-SA-4.0')
|
||||
|
|
Loading…
Reference in New Issue
Block a user