13
0
geforkt von Mirrors/Paper

Update deprecation message for PotionMeta.setMainEffect

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2020-09-12 08:32:51 +10:00
Ursprung c1180fb36d
Commit 33b17b0532

Datei anzeigen

@ -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);