Update deprecation message for PotionMeta.setMainEffect

This commit is contained in:
md_5 2020-09-12 08:32:51 +10:00
parent 84fcddbf95
commit 30dc3e3725
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -80,7 +80,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 org.bukkit.potion.PotionType#PotionType}
* @deprecated use {@link #setBasePotionData(org.bukkit.potion.PotionData)}
*/
@Deprecated
boolean setMainEffect(@NotNull PotionEffectType type);