mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 08:32:07 -07:00
Update deprecation message for PotionMeta.setMainEffect
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user