changeId
This is meant for the gui, after changing the skinid, to change in the database too. It deletes the old skin, and you must define it again like this: new Skin(id, name, modelId, rarity, categories, enabled, noteMaterial, displayItem, animations)
Parameters
oldId
The old id of the skin
newSkin
The new skin definition