mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
Added comment for why EcoEnchant#getName isn't deprecated.
This commit is contained in:
parent
e238b91731
commit
e86c7d67fa
@ -40,7 +40,7 @@ import java.util.Set;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@SuppressWarnings("unchecked")
|
||||
@SuppressWarnings({"unchecked", "deprecation"})
|
||||
public abstract class EcoEnchant extends Enchantment implements Listener, Registerable, Watcher {
|
||||
/**
|
||||
* Instance of EcoEnchants for enchantments to be able to access.
|
||||
@ -288,6 +288,8 @@ public abstract class EcoEnchant extends Enchantment implements Listener, Regist
|
||||
|
||||
/**
|
||||
* Get the display name of the enchantment.
|
||||
* <p>
|
||||
* Not deprecated, unlike superclass.
|
||||
*
|
||||
* @return The name.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user