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 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 {