mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Improve documentation of Enchantment#values()
By: md_5 <git@md-5.net>
This commit is contained in:
parent
e3c025977a
commit
dcfc5f30a3
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…
Reference in a new issue