From 677b0025485e68b01bc577b8f72cc240dfaa524f Mon Sep 17 00:00:00 2001 From: Lilly <46890129+RainbowDashLabs@users.noreply.github.com> Date: Sun, 28 Jan 2024 13:05:37 +0100 Subject: [PATCH] Fix null profile in skulls --- .../src/main/java/biz/princeps/landlord/util/Skulls.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LandLord-core/src/main/java/biz/princeps/landlord/util/Skulls.java b/LandLord-core/src/main/java/biz/princeps/landlord/util/Skulls.java index 462a81ac..1d079ce4 100644 --- a/LandLord-core/src/main/java/biz/princeps/landlord/util/Skulls.java +++ b/LandLord-core/src/main/java/biz/princeps/landlord/util/Skulls.java @@ -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));