Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/CryptoMorin/XSeries
Browse files Browse the repository at this point in the history
  • Loading branch information
CryptoMorin committed Mar 20, 2023
2 parents a34f1fe + 3054450 commit ab694e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/cryptomorin/xseries/SkullUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public static ItemStack getSkull(@Nonnull UUID id) {
SkullMeta meta = (SkullMeta) head.getItemMeta();

if (SUPPORTS_UUID) meta.setOwningPlayer(Bukkit.getOfflinePlayer(id));
else meta.setOwner(id.toString());
else meta.setOwner(Bukkit.getOfflinePlayer(id).getName());

head.setItemMeta(meta);
return head;
Expand Down

0 comments on commit ab694e0

Please sign in to comment.