mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-21 14:55:17 +01:00
Fixed lombok from getName
This commit is contained in:
parent
cde358e6ce
commit
e238b91731
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user