mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-25 20:55:47 +00:00
Added check for file type in ExportSkin
Co-Authored-By: Miku-666 <74728189+NessieHax@users.noreply.github.com>
This commit is contained in:
@@ -524,7 +524,8 @@ namespace PckStudio.Classes.Convert.FromLCE
|
||||
|
||||
void ExportSkin(PCKFile.FileData file, string ExportPath, List<SkinObject> src)
|
||||
{
|
||||
//Console.WriteLine("============");
|
||||
if (file.filetype != PCKFile.FileData.FileType.SkinFile) return;
|
||||
|
||||
SkinObject So = new SkinObject();
|
||||
string skinID = file.filepath.Replace("dlcskin", "").Replace(".png", "").Replace("Skins/", "");
|
||||
So.localization_name = skinID;
|
||||
|
||||
Reference in New Issue
Block a user