Skip to content

Commit 356808a

Browse files
authored
GH-1000 Removed doubled message in /enchant command (#1001)
1 parent fe5da9c commit 356808a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

eternalcore-core/src/main/java/com/eternalcode/core/feature/enchant/EnchantCommand.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,5 @@ private void enchantItem(UUID playerId, ItemStack item, Enchantment enchantment,
9797
}
9898

9999
item.addEnchantment(enchantment, level);
100-
101-
this.noticeService.create()
102-
.player(playerId)
103-
.notice(translation -> translation.item().enchantedMessage())
104-
.send();
105100
}
106101
}

0 commit comments

Comments
 (0)