When I Schedule task to spawn particles for players it make players no able to type in chat.. Task: PHP: <?phpnamespace Core\Particle\task;use Core\Particle\ParticleManager;use pocketmine\scheduler\Task;class ParticleTickTask extends Task{ public $plugin; public function __construct(ParticleManager $plugin){ $this->plugin = $plugin; } public function onRun($currentTick){ foreach($this->plugin->particles as $particle){ $particle->tick(); } }} ParticleManager: PHP: <?phpnamespace Core\Particle;use Core\Loader;use Core\Particle\task\ParticleTickTask;use Core\Particle\particles\CloudRainParticle;use Core\Particle\particles\FireWingsParticle;use Core\Particle\particles\DragonHeadParticle;use pocketmine\Server;class ParticleManager{ public $particles = []; public function __construct(){ $this->registerParticles(); Server::getInstance()->getScheduler()->scheduleRepeatingTask(new ParticleTickTask($this), Loader::getInstance(), 60); } public function registerParticles(){ $this->particles['cloudrain'] = new CloudRainParticle(); $this->particles['firewings'] = new FireWingsParticle(); $this->particles['dragonhead'] = new DragonHeadParticle(); }} CloudRainParticle: (Posted on pastebin because it's really long) https://pastebin.com/sSr59BsC