add ItemCommand
All checks were successful
Build / build (push) Successful in 1m39s

This commit is contained in:
unurled 2024-03-15 13:22:31 +01:00
parent d12bf53972
commit c64032034c
Signed by: unurled
GPG key ID: FDBC9CBE1F82423F
7 changed files with 461 additions and 26 deletions

View file

@ -112,8 +112,7 @@ public class Items {
lore.add(comp("<dark_purple>Enchantments:"));
item.getEnchantments()
.forEach(
(k, v) ->
lore.add(comp(" <blue>➤ " + k.getName() + " <if " + "max level gold>" + v)));
(k, v) -> lore.add(comp(" <blue>➤ " + k.name() + " <if " + "max level gold>" + v)));
}
stack.lore(lore);