Cleanup
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m23s
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m23s
This commit is contained in:
parent
43f2ba041d
commit
dbeeb77fc8
@ -65,12 +65,9 @@ public final class Skin {
|
||||
*/
|
||||
@NonNull
|
||||
public Skin populatePartUrls(@NonNull String playerUuid) {
|
||||
Consumer<ISkinPart> addPart = part -> {
|
||||
partUrls.put(part.name(), AppConfig.INSTANCE.getServerPublicUrl() + "/player/" + part.name().toLowerCase() + "/" + playerUuid + ".png");
|
||||
};
|
||||
for (Enum<?>[] type : ISkinPart.TYPES) {
|
||||
for (Enum<?> part : type) {
|
||||
addPart.accept((ISkinPart) part);
|
||||
partUrls.put(part.name(), AppConfig.INSTANCE.getServerPublicUrl() + "/player/" + part.name().toLowerCase() + "/" + playerUuid + ".png");
|
||||
}
|
||||
}
|
||||
return this;
|
||||
|
Loading…
Reference in New Issue
Block a user