Skip to content

Commit

Permalink
Fix color field not being optional for multipart balloon models
Browse files Browse the repository at this point in the history
  • Loading branch information
IanTapply22 committed Jun 23, 2024
1 parent 2ee7902 commit df5bbb2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class MultipartBalloonModel {
public MultipartBalloonModel(BalloonSegmentType segmentType, String material, String color, int customModelData) {
this.setSegmentType(segmentType);
this.setMaterial(material);
this.setColor(color);
if (!color.equals(this.getColor())) this.setColor(color);
this.setCustomModelData(customModelData);
}

Expand Down

0 comments on commit df5bbb2

Please sign in to comment.