diff --git a/src/main/java/org/bukkit/craftbukkit/v1_20_R3/inventory/CraftMetaSkull.java b/src/main/java/org/bukkit/craftbukkit/v1_20_R3/inventory/CraftMetaSkull.java index a8c4419c0..8c16f668d 100644 --- a/src/main/java/org/bukkit/craftbukkit/v1_20_R3/inventory/CraftMetaSkull.java +++ b/src/main/java/org/bukkit/craftbukkit/v1_20_R3/inventory/CraftMetaSkull.java @@ -190,11 +190,11 @@ public String getOwner() { @Override public OfflinePlayer getOwningPlayer() { if (hasOwner()) { - if (!profile.getId().equals(Util.NIL_UUID)) { + if (profile.getId() != null) { return Bukkit.getOfflinePlayer(profile.getId()); } - if (!profile.getName().isEmpty()) { + if (profile.getName() != null) { return Bukkit.getOfflinePlayer(profile.getName()); } }