From 6e4ec629b0f5f1948232f94299496a2439e98002 Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Thu, 4 Aug 2022 03:11:20 +0200 Subject: [PATCH] Fix Skull in pandalib-paper --- .../src/main/java/fr/pandacube/lib/paper/util/Skull.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/util/Skull.java b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/util/Skull.java index 85f7c00..89c4114 100644 --- a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/util/Skull.java +++ b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/util/Skull.java @@ -135,7 +135,7 @@ public enum Skull { * @return itemstack */ public static ItemStack getFromSkinURL(String url, Chat name, List lore) { - return getFromBase64String(Base64.getEncoder().encodeToString(String.format("{textures:{SKIN:{url:\"%s\"}}}", url).getBytes()), name, lore); + return getFromBase64String(Base64.getEncoder().encodeToString(String.format("{\"textures\":{\"SKIN\":{\"url\":\"%s\"}}}", url).getBytes()), name, lore); }