(with and without 3d armor)
I had some issues with updates if the selection is done without "set_skin()" fromspec field.At other site updates was done twice.
Now the skins.update_player_skin(player) does the visuals update if anything changed (like armor switched) and skins.set_player_skin(player, skin) is for update on skin selection, to call the set_skin() hook, used in character_creator to start the character_creator-formspec...
(with and without 3d armor) I had some issues with updates if the selection is done without "set_skin()" fromspec field.At other site updates was done twice.
Now the
skins.update_player_skin(player)
does the visuals update if anything changed (like armor switched) andskins.set_player_skin(player, skin)
is for update on skin selection, to call the set_skin() hook, used in character_creator to start the character_creator-formspec...