Fixed lombok from getName

This commit is contained in:
Auxilor 2020-12-28 22:42:11 +00:00
parent cde358e6ce
commit e238b91731

View File

@ -51,7 +51,6 @@ public abstract class EcoEnchant extends Enchantment implements Listener, Regist
/**
* The display name of the enchantment.
*/
@Getter
private String name;
/**
@ -287,6 +286,17 @@ public abstract class EcoEnchant extends Enchantment implements Listener, Regist
return this;
}
/**
* Get the display name of the enchantment.
*
* @return The name.
*/
@Override
@NotNull
public String getName() {
return name;
}
/**
* Get max level of enchantment.
*