Update Maven plugins

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2021-07-03 11:06:15 +10:00
parent 34e6b033ad
commit 6dd24e4af2
25 changed files with 98 additions and 102 deletions

View File

@@ -141,9 +141,9 @@ public class Potion {
* Returns a collection of {@link PotionEffect}s that this {@link Potion}
* would confer upon a {@link LivingEntity}.
*
* @return The effects that this potion applies
* @see PotionBrewer#getEffectsFromDamage(int)
* @see Potion#toDamageValue()
* @return The effects that this potion applies
*/
@NotNull
public Collection<PotionEffect> getEffects() {

View File

@@ -184,10 +184,10 @@ public abstract class PotionEffectType {
* Creates a PotionEffect from this PotionEffectType, applying duration
* modifiers and checks.
*
* @see PotionBrewer#createEffect(PotionEffectType, int, int)
* @param duration time in ticks
* @param amplifier the effect's amplifier
* @return a resulting potion effect
* @see PotionBrewer#createEffect(PotionEffectType, int, int)
*/
@NotNull
public PotionEffect createEffect(int duration, int amplifier) {