From 09a5441bffaffdad6063580960ca3ee3f8f91402 Mon Sep 17 00:00:00 2001 From: Silent Date: Wed, 21 Apr 2021 23:20:27 +0200 Subject: [PATCH] idk how this went null --- src/main/java/tsp/headdb/api/Head.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/tsp/headdb/api/Head.java b/src/main/java/tsp/headdb/api/Head.java index 50277cf..ead2171 100644 --- a/src/main/java/tsp/headdb/api/Head.java +++ b/src/main/java/tsp/headdb/api/Head.java @@ -39,7 +39,7 @@ public class Head { SkullMeta meta = (SkullMeta) item.getItemMeta(); meta.setDisplayName(Utils.colorize(category != null ? category.getColor() + name : "&8" + name)); // set skull owner - GameProfile profile = new GameProfile(uuid, null); + GameProfile profile = new GameProfile(uuid, name); profile.getProperties().put("textures", new Property("textures", value)); Field profileField; try {