Skip to content

Commit

Permalink
Update eternalcore-core/src/main/java/com/eternalcode/core/feature/es…
Browse files Browse the repository at this point in the history
…sentials/item/EnchantCommand.java

Co-authored-by: DMK <[email protected]>
  • Loading branch information
vLuckyyy and imDMK authored Aug 21, 2023
1 parent 7053dbf commit d6b43fa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ private void enchantItem(UUID playerId, ItemStack item, Enchantment enchantment,
}

item.addEnchantment(enchantment, level);

this.noticeService.create()
.player(playerId)
.notice(translation -> translation.item().enchantedMessage())
Expand Down

0 comments on commit d6b43fa

Please sign in to comment.