Skip to content

Commit

Permalink
hide enchant for glow in itembuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
rownox committed Dec 13, 2023
1 parent b15990a commit bad076d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public ItemStack build() {

if (this.glow) {
meta.addEnchant(Enchantment.LUCK, 1, true);
meta.addItemFlags(ItemFlag.HIDE_ENCHANTS);
}

if (this.unbreakable) {
Expand Down

0 comments on commit bad076d

Please sign in to comment.