Skip to content

Commit

Permalink
Set animations to empty list if null (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
irrld authored Jan 28, 2025
1 parent f50212d commit 94ebb68
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ public Builder primaryUser(boolean primaryUser) {

public SerializedSkin build() {
if (playFabId == null) playFabId = "";
if (animations == null) animations = Collections.emptyList();
if (animationData == null) animationData = "";
if (capeData == null) capeData = ImageData.EMPTY;
if (capeId == null) capeId = "";
Expand Down

0 comments on commit 94ebb68

Please sign in to comment.