I am trying to add an effect and keep the particles off. The effect part works, but it still shows the particles. Here is my code: PHP: $effect = Effect::getEffect(1); $effect->setVisible(false); $effect->setDuration(107374182); $player->addEffect($effect);
Well, in my Plugin it actually doesn't show for both. The only thing I did too is adding a Config and setting the Amplifier, try to add: PHP: $effect->setAmplifier(1);