refactor
Some checks failed
Build / build (push) Failing after 1m23s

This commit is contained in:
unurled 2024-05-25 16:18:42 +02:00
parent 072521f228
commit 78726ed651
Signed by: unurled
GPG key ID: FDBC9CBE1F82423F
2 changed files with 5 additions and 5 deletions

View file

@ -64,6 +64,7 @@ public class Redis implements DataHandler {
/**
* Check if a key exists
*
* @param key The key to check
* @return If the key exists
*/

View file

@ -69,7 +69,6 @@ public class Items {
}
/**
*
* @param stack the itemstack
* @return the itemstack with lore
*/
@ -105,10 +104,10 @@ public class Items {
item.getAbilities()
.forEach(
a -> {
lore.add(comp(" <gray>➤ " + a.name() + ",<yellow> " + a.description()));
lore.add(comp(" <dark_gray>cooldown: " + a.cooldown() + "s,"));
lore.add(comp(" <dark_gray>damage: " + a.damage() + ","));
lore.add(comp(" <dark_gray>mana cost: <dark_aqua>" + a.manaCost()));
lore.add(comp(" <gray>➤ " + a.name() + ",<yellow> " + a.getDescription()));
lore.add(comp(" <dark_gray>cooldown: " + a.getCooldown() + "s,"));
lore.add(comp(" <dark_gray>damage: " + a.getDamage() + ","));
lore.add(comp(" <dark_gray>mana cost: <dark_aqua>" + a.getManaCost()));
});
}
if (!item.getEnchantments().isEmpty()) {