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:
parent
a56aacd4d6
commit
6b03850965
8
pom.xml
8
pom.xml
@ -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>
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user