removePotionEffect

public abstract void removePotionEffect(PotionEffectType type)

Removes any effects present of the given PotionEffectType.

Parameters

type

the potion type to remove