parent
072521f228
commit
78726ed651
2 changed files with 5 additions and 5 deletions
|
@ -64,6 +64,7 @@ public class Redis implements DataHandler {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if a key exists
|
* Check if a key exists
|
||||||
|
*
|
||||||
* @param key The key to check
|
* @param key The key to check
|
||||||
* @return If the key exists
|
* @return If the key exists
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -69,7 +69,6 @@ public class Items {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @param stack the itemstack
|
* @param stack the itemstack
|
||||||
* @return the itemstack with lore
|
* @return the itemstack with lore
|
||||||
*/
|
*/
|
||||||
|
@ -105,10 +104,10 @@ public class Items {
|
||||||
item.getAbilities()
|
item.getAbilities()
|
||||||
.forEach(
|
.forEach(
|
||||||
a -> {
|
a -> {
|
||||||
lore.add(comp(" <gray>➤ " + a.name() + ",<yellow> " + a.description()));
|
lore.add(comp(" <gray>➤ " + a.name() + ",<yellow> " + a.getDescription()));
|
||||||
lore.add(comp(" <dark_gray>cooldown: " + a.cooldown() + "s,"));
|
lore.add(comp(" <dark_gray>cooldown: " + a.getCooldown() + "s,"));
|
||||||
lore.add(comp(" <dark_gray>damage: " + a.damage() + ","));
|
lore.add(comp(" <dark_gray>damage: " + a.getDamage() + ","));
|
||||||
lore.add(comp(" <dark_gray>mana cost: <dark_aqua>" + a.manaCost()));
|
lore.add(comp(" <dark_gray>mana cost: <dark_aqua>" + a.getManaCost()));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (!item.getEnchantments().isEmpty()) {
|
if (!item.getEnchantments().isEmpty()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue