9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-27 19:09:19 +00:00

fix: ModelEngine not accepting uppercase

This commit is contained in:
LoJoSho
2023-08-02 16:06:03 -05:00
parent fced771953
commit 554bdf91bd

View File

@@ -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);
@@ -38,7 +38,7 @@ public class CosmeticBalloonType extends Cosmetic {
// Seriously?
throw new RuntimeException(e);
}
if (modelId != null) modelId = modelId.toLowerCase(); // ME only accepts lowercase
this.modelName = modelId;
}