Update deprecation message for PotionMeta.setMainEffect
By: md_5 <git@md-5.net>
This commit is contained in:
parent
c1180fb36d
commit
33b17b0532
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue