public function reload() { $this->reloadConfig(); $this->saveDefaultConfig(); $this->messages->reloadMessages(); if (!$this->isValidProvider()) { $this->setProvider(false); } }
public function reload() { $this->reloadConfig(); $this->saveDefaultConfig(); $this->messages->reloadMessages(); $this->setProvider(false); foreach ($this->getServer()->getOnlinePlayers() as $player) { $this->updatePermissions($player); } }