mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
Update deprecation message for PotionMeta.setMainEffect
This commit is contained in:
parent
84fcddbf95
commit
30dc3e3725
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
|
* @param type the potion effect type to move
|
||||||
* @return true if the potion meta changed as a result of this call
|
* @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
|
@Deprecated
|
||||||
boolean setMainEffect(@NotNull PotionEffectType type);
|
boolean setMainEffect(@NotNull PotionEffectType type);
|
||||||
|
|
Loading…
Add table
Reference in a new issue