From 931218f69412bebfa2a02076a4b20ab395b51ad8 Mon Sep 17 00:00:00 2001 From: Daniel Walsh Date: Mon, 25 Dec 2023 07:42:03 +0000 Subject: [PATCH 1/2] [WIP] Fix contributor head being pullable --- .../slimefun4/core/services/github/GitHubTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/GitHubTask.java b/src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/GitHubTask.java index da42dfa996..8b065e3ff4 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/GitHubTask.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/core/services/github/GitHubTask.java @@ -142,7 +142,7 @@ private int requestTexture(@Nonnull Contributor contributor, @Nonnull Map future = PlayerSkin.fromPlayerUUID(Slimefun.instance(), uuid.get()); - Optional skin = Optional.of(future.get().toString()); + Optional skin = Optional.of(future.get().getProfile().getBase64Texture()); skins.put(contributor.getMinecraftName(), skin.orElse("")); return skin.orElse(null); } else { From 2d7a221cc52f1e851c6bdd853300ec24f103e283 Mon Sep 17 00:00:00 2001 From: Daniel Walsh Date: Mon, 25 Dec 2023 09:38:41 +0000 Subject: [PATCH 2/2] Update dough --- pom.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a548bfc1a6..8fa8a7be1d 100644 --- a/pom.xml +++ b/pom.xml @@ -355,7 +355,7 @@ com.github.baked-libs.dough dough-api - 4b28bd408e + da42c2f268 compile @@ -513,6 +513,12 @@ + + com.mojang + authlib + 1.5.25 + provided + commons-lang