From dbeeb77fc8dfc1ce3b8f7eac9d8e5c7b35a16898 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Thu, 11 Apr 2024 04:41:00 -0400 Subject: [PATCH] Cleanup --- src/main/java/me/braydon/mc/model/skin/Skin.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/me/braydon/mc/model/skin/Skin.java b/src/main/java/me/braydon/mc/model/skin/Skin.java index 2ded5db..8a865bb 100644 --- a/src/main/java/me/braydon/mc/model/skin/Skin.java +++ b/src/main/java/me/braydon/mc/model/skin/Skin.java @@ -65,12 +65,9 @@ public final class Skin { */ @NonNull public Skin populatePartUrls(@NonNull String playerUuid) { - Consumer 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;