1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

Fix contributor head being pullable (#4072)

This commit is contained in:
Daniel Walsh 2023-12-27 02:59:19 +00:00 committed by GitHub
parent a56aacd4d6
commit 6b03850965
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -355,7 +355,7 @@
<dependency>
<groupId>com.github.baked-libs.dough</groupId>
<artifactId>dough-api</artifactId>
<version>4b28bd408e</version>
<version>da42c2f268</version>
<scope>compile</scope>
</dependency>
<dependency>
@ -513,6 +513,12 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.mojang</groupId>
<artifactId>authlib</artifactId>
<version>1.5.25</version>
<scope>provided</scope>
</dependency>
<!-- TODO: Remove this dependency -->
<dependency>
<groupId>commons-lang</groupId>

View File

@ -142,7 +142,7 @@ class GitHubTask implements Runnable {
if (uuid.isPresent()) {
CompletableFuture<PlayerSkin> future = PlayerSkin.fromPlayerUUID(Slimefun.instance(), uuid.get());
Optional<String> skin = Optional.of(future.get().toString());
Optional<String> skin = Optional.of(future.get().getProfile().getBase64Texture());
skins.put(contributor.getMinecraftName(), skin.orElse(""));
return skin.orElse(null);
} else {