Skip to content

Commit

Permalink
fix: ModelEngine not accepting uppercase
Browse files Browse the repository at this point in the history
  • Loading branch information
LoJoSho committed Aug 2, 2023
1 parent fced771 commit 554bdf9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class CosmeticBalloonType extends Cosmetic {

private final String modelName;
private List<String> dyableParts;
private boolean showLead;
private final boolean showLead;

public CosmeticBalloonType(String id, ConfigurationNode config) {
super(id, config);
Expand All @@ -38,7 +38,7 @@ public CosmeticBalloonType(String id, ConfigurationNode config) {
// Seriously?
throw new RuntimeException(e);
}

if (modelId != null) modelId = modelId.toLowerCase(); // ME only accepts lowercase
this.modelName = modelId;
}

Expand Down

0 comments on commit 554bdf9

Please sign in to comment.