From 13ceeb43a1301ad7bf0e1ecb0e9b072ab60c69e9 Mon Sep 17 00:00:00 2001 From: TheLonelyWolf <42873246+TheLonelyWolf1@users.noreply.github.com> Date: Tue, 3 Oct 2023 12:32:53 +0200 Subject: [PATCH] Fix Error with Custom Heads on 1.20.2 --- .../rockyhawk/commandpanels/classresources/GetCustomHeads.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/rockyhawk/commandpanels/classresources/GetCustomHeads.java b/src/me/rockyhawk/commandpanels/classresources/GetCustomHeads.java index 6fbbf47..b8896dd 100644 --- a/src/me/rockyhawk/commandpanels/classresources/GetCustomHeads.java +++ b/src/me/rockyhawk/commandpanels/classresources/GetCustomHeads.java @@ -128,7 +128,7 @@ public class GetCustomHeads { @SuppressWarnings("deprecation") public ItemStack getCustomHead(String b64stringtexture) { //get head from base64 - GameProfile profile = new GameProfile(UUID.randomUUID(), null); + GameProfile profile = new GameProfile(UUID.randomUUID(), ""); PropertyMap propertyMap = profile.getProperties(); if (propertyMap == null) { throw new IllegalStateException("Profile doesn't contain a property map");