This commit is contained in:
parent
7cc9395cbc
commit
1380e7479a
11 changed files with 45 additions and 77 deletions
|
@ -17,6 +17,7 @@ import org.bukkit.persistence.PersistentDataContainer;
|
|||
import org.bukkit.persistence.PersistentDataType;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@SuppressWarnings("UnusedReturnValue")
|
||||
public class Items {
|
||||
public static @NotNull Double getTotalAttribute(Player player, Attribute attribute) {
|
||||
return getTotalAttribute(player.getEquipment(), attribute);
|
||||
|
@ -63,7 +64,6 @@ public class Items {
|
|||
* <dark_purple>Enchantments: <blue>➤ Enchantment <if max level gold>1 <blue>➤ Enchantment <if max
|
||||
* level gold>2
|
||||
*
|
||||
* @param item the item
|
||||
* @param stack the itemstack
|
||||
* @return the itemstack with lore
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue