public static function getInstance() { return self::$instance; }
public function onDisable() { $this->getLogger()->info(TextFormat::DARK_RED . "Disabled"); $this->getServer()->getLogger()->removeAttachment($this->attachment); ThreadManager::getInstance()->remove($this->thread); $this->thread->kill(); }