Skip to content

Commit

Permalink
fix skull
Browse files Browse the repository at this point in the history
  • Loading branch information
HSGamer committed Jun 29, 2024
1 parent 568a5d9 commit 05af454
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public void setSkullByPlayer(SkullMeta meta, OfflinePlayer player) {
}

public void setSkullByURL(SkullMeta meta, URL url) {
GameProfile profile = new GameProfile(UUID.randomUUID(), null);
GameProfile profile = new GameProfile(UUID.randomUUID(), "");
profile.getProperties().put("textures", new Property("textures", Base64.getEncoder().encodeToString(String.format("{textures:{SKIN:{url:\"%s\"}}}", url).getBytes())));

try {
Expand Down

0 comments on commit 05af454

Please sign in to comment.