mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
Improve documentation of Enchantment#values()
By: md_5 <git@md-5.net>
This commit is contained in:
parent
e3c025977a
commit
dcfc5f30a3
@ -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 New Issue
Block a user