forked from Upstream/CommandPanels
Fix Error with Custom Heads on 1.20.2
This commit is contained in:
parent
f384bec035
commit
13ceeb43a1
@ -128,7 +128,7 @@ public class GetCustomHeads {
|
|||||||
@SuppressWarnings("deprecation")
|
@SuppressWarnings("deprecation")
|
||||||
public ItemStack getCustomHead(String b64stringtexture) {
|
public ItemStack getCustomHead(String b64stringtexture) {
|
||||||
//get head from base64
|
//get head from base64
|
||||||
GameProfile profile = new GameProfile(UUID.randomUUID(), null);
|
GameProfile profile = new GameProfile(UUID.randomUUID(), "");
|
||||||
PropertyMap propertyMap = profile.getProperties();
|
PropertyMap propertyMap = profile.getProperties();
|
||||||
if (propertyMap == null) {
|
if (propertyMap == null) {
|
||||||
throw new IllegalStateException("Profile doesn't contain a property map");
|
throw new IllegalStateException("Profile doesn't contain a property map");
|
||||||
|
Loading…
Reference in New Issue
Block a user