Skip to content

Commit

Permalink
Fix null profile in skulls
Browse files Browse the repository at this point in the history
  • Loading branch information
rainbowdashlabs committed Jan 28, 2024
1 parent 2e35ca2 commit 677b002
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, null);
GameProfile profile = new GameProfile(uuid, uuid.toString());

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

Expand Down

0 comments on commit 677b002

Please sign in to comment.