Show all skin parts in the player skin
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Has been cancelled
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Has been cancelled
This commit is contained in:
parent
5f37b6b768
commit
43f2ba041d
@ -68,11 +68,10 @@ public final class Skin {
|
||||
Consumer<ISkinPart> addPart = part -> {
|
||||
partUrls.put(part.name(), AppConfig.INSTANCE.getServerPublicUrl() + "/player/" + part.name().toLowerCase() + "/" + playerUuid + ".png");
|
||||
};
|
||||
for (ISkinPart part : ISkinPart.Vanilla.values()) {
|
||||
addPart.accept(part);
|
||||
for (Enum<?>[] type : ISkinPart.TYPES) {
|
||||
for (Enum<?> part : type) {
|
||||
addPart.accept((ISkinPart) part);
|
||||
}
|
||||
for (ISkinPart part : ISkinPart.Isometric.values()) {
|
||||
addPart.accept(part);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user