Skip to content

Commit

Permalink
SkinModelImporter - Update 'TryConvertToSkinBoxType' function
Browse files Browse the repository at this point in the history
  • Loading branch information
NessieHax committed Aug 16, 2024
1 parent 2212a36 commit efbdeb9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions PCK-Studio/Internal/SkinModelImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -438,19 +438,19 @@ private static string TryConvertToSkinBoxType(string name)
{
return name.ToUpper();
}
return name switch
return name.ToLower() switch
{
"helmet" => "HEAD",
"rightArm" => "ARM0",
"leftArm" => "ARM1",
"rightLeg" => "LEG0",
"leftLeg" => "LEG1",
"rightarm" => "ARM0",
"leftarm" => "ARM1",
"rightleg" => "LEG0",
"leftleg" => "LEG1",
"hat" => "HEADWEAR",
"bodyArmor" => "BODY",
"rightSleeve" => "SLEEVE0",
"leftSleeve" => "SLEEVE1",
"rightPants" => "PANTS0",
"leftPants" => "PANTS1",
"bodyarmor" => "BODY",
"rightsleeve" => "SLEEVE0",
"leftsleeve" => "SLEEVE1",
"rightpants" => "PANTS0",
"leftpants" => "PANTS1",
_ => name,
};
}
Expand Down

0 comments on commit efbdeb9

Please sign in to comment.