Skip to content

Commit

Permalink
null check on skins
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Ski committed Aug 10, 2023
1 parent 3c6d4eb commit a224f76
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ public void read (Json json, JsonValue jsonData) {
}
} else {
Skin skinToApply = skeleton.getData().getDefaultSkin();
setAndUpdateSkin(skinToApply.getName());
if (skinToApply != null) {
setAndUpdateSkin(skinToApply.getName());
}
}


Expand Down

0 comments on commit a224f76

Please sign in to comment.