From 0b8aa1bde076f24400ecaa21661c6952a3ebe04e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien?= Date: Wed, 17 Jul 2024 11:51:17 +0200 Subject: [PATCH] fix: Fix GameProfile skull handling --- .../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 1d079ce4..aa1b1f60 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, uuid.toString()); + GameProfile profile = new GameProfile(uuid, uuid.toString().substring(0, 16)); profile.getProperties().put("textures", new Property("textures", texture));