Skip to content

Commit

Permalink
fix: Fix GameProfile skull handling (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurelien30000 authored Jul 20, 2024
1 parent 42bd5bc commit efe9b79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public ItemStack getSkull(ILandLord plugin) {
return head;

SkullMeta headMeta = (SkullMeta) head.getItemMeta();
GameProfile profile = new GameProfile(uuid, uuid.toString());
GameProfile profile = new GameProfile(uuid, uuid.toString().substring(0, 16));

profile.getProperties().put("textures", new Property("textures", texture));

Expand Down

0 comments on commit efe9b79

Please sign in to comment.