Fix JavaDoc errors

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2024-04-24 01:47:31 +10:00
parent bfd5351193
commit d1a68a02b4
4 changed files with 7 additions and 7 deletions

View File

@@ -139,7 +139,7 @@ public interface ItemFactory {
* The input should match the same input as expected by Minecraft's {@code /give}
* command. For example, "minecraft:diamond_sword{Enchantments:[{id:"minecraft:sharpness", lvl:3}]}"
* would yield an ItemStack of {@link Material#DIAMOND_SWORD} with an {@link ItemMeta}
* containing a level 3 {@link Enchantment#DAMAGE_ALL}
* containing a level 3 {@link Enchantment#SHARPNESS}
* enchantment.
*
* @param input the item input string

View File

@@ -87,7 +87,7 @@ public interface PotionMeta extends ItemMeta {
*
* @param type the potion effect type to move
* @return true if the potion meta changed as a result of this call
* @deprecated use {@link #setBasePotionData(org.bukkit.potion.PotionData)}
* @deprecated use {@link #setBasePotionType(org.bukkit.potion.PotionType)}
*/
@Deprecated
boolean setMainEffect(@NotNull PotionEffectType type);