fix slim skin models not being recognised
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m25s
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m25s
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