Improve documentation of Enchantment#values()

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2024-04-17 19:11:14 +10:00
parent e3c025977a
commit dcfc5f30a3

View file

@ -337,7 +337,7 @@ public abstract class Enchantment implements Keyed, Translatable {
* Gets an array of all the registered {@link Enchantment}s * Gets an array of all the registered {@link Enchantment}s
* *
* @return Array of enchantments * @return Array of enchantments
* @deprecated use {@link Registry#iterator()} * @deprecated use {@link Registry#iterator() Registry.ENCHANTMENT.iterator()}
*/ */
@NotNull @NotNull
@Deprecated @Deprecated