Skip to content

Commit

Permalink
Fix Item Glowing
Browse files Browse the repository at this point in the history
  • Loading branch information
Oribuin committed Dec 20, 2023
1 parent 95dcfd4 commit 1cdf78e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/main/java/xyz/oribuin/eternaltags/util/ItemBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,6 @@ public ItemBuilder owner(OfflinePlayer owner) {
if (skullMeta == null || owner == null || skullMeta.getOwningPlayer() != null)
return this;

System.out.println("Setting owner to " + owner.getName());

skullMeta.setOwningPlayer(owner);
this.item.setItemMeta(skullMeta);
return this;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/xyz/oribuin/eternaltags/util/TagsUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public static ItemStack deserialize(
.name(locale.format(sender, section.getString(key + ".name"), placeholders))
.amount(Math.min(1, section.getInt(key + ".amount", 1)))
.lore(locale.format(sender, section.getStringList(key + ".lore"), placeholders))
.glow(section.getBoolean(key + ".glowing", false))
.glow(section.getBoolean(key + ".glow", false))
.unbreakable(section.getBoolean(key + ".unbreakable", false))
.model(toInt(locale.format(sender, section.getString(key + ".model-data", "0"), placeholders)))
.enchant(enchantments)
Expand Down

0 comments on commit 1cdf78e

Please sign in to comment.