Skip to content

Commit

Permalink
chore: update custom player skin slot
Browse files Browse the repository at this point in the history
  • Loading branch information
xhayper committed Aug 12, 2024
1 parent 27db314 commit 3816fb6
Show file tree
Hide file tree
Showing 3 changed files with 388 additions and 572 deletions.
4 changes: 2 additions & 2 deletions COTL_API/CustomSkins/CustomPlayerSkin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ void Action()
{
var from = PlayerFarming.Instance.Spine.Skeleton.Data.FindSkin("Lamb");
Skin to = new(Name);

var overrides = SkinUtils.CreateSkinAtlas(Name, Texture, GenerateAtlasText(),
delegate(AtlasRegion region)
{
Expand All @@ -32,7 +32,7 @@ void Action()
region.name = simplified.Item1 + ":" + simplified.Item2 + add;
return [simplified];
}

var atts = from.Attachments.Where(x => x.Name == simpleName);
List<Tuple<int, string>> tuples = [];
if (from.Attachments.All(x => x.Name != simpleName)) return [];
Expand Down
Loading

0 comments on commit 3816fb6

Please sign in to comment.