pocketmine\entity\Entity::removeAllEffects PHP Метод

removeAllEffects() публичный Метод

public removeAllEffects ( )
    public function removeAllEffects()
    {
        foreach ($this->effects as $effect) {
            $this->removeEffect($effect->getId());
        }
    }