mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
Improve documentation of Enchantment#values()
This commit is contained in:
parent
507052e112
commit
6cc615e662
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ public abstract class Enchantment implements Keyed, Translatable {
|
|||
* Gets an array of all the registered {@link Enchantment}s
|
||||
*
|
||||
* @return Array of enchantments
|
||||
* @deprecated use {@link Registry#iterator()}
|
||||
* @deprecated use {@link Registry#iterator() Registry.ENCHANTMENT.iterator()}
|
||||
*/
|
||||
@NotNull
|
||||
@Deprecated
|
||||
|
|
Loading…
Add table
Reference in a new issue