forked from MinecraftUtilities/Backend
fix slim skin models not being recognised
This commit is contained in:
parent
157bdf5e5a
commit
f4cf93cf08
@ -80,7 +80,7 @@ public class Skin {
|
||||
JsonObject metadata = json.getAsJsonObject("metadata");
|
||||
return new Skin(
|
||||
url,
|
||||
EnumUtils.getEnumConstant(Model.class, metadata != null ? metadata.get("model").getAsString() : "DEFAULT")
|
||||
EnumUtils.getEnumConstant(Model.class, metadata != null ? metadata.get("model").getAsString().toUpperCase() : "DEFAULT")
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user