Skip to content

Commit

Permalink
[WIP] Fix contributor head being pullable
Browse files Browse the repository at this point in the history
  • Loading branch information
WalshyDev committed Dec 25, 2023
1 parent a56aacd commit 931218f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private int requestTexture(@Nonnull Contributor contributor, @Nonnull Map<String

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

0 comments on commit 931218f

Please sign in to comment.