コード例 #1
0
ファイル: MyPlot.php プロジェクト: mwvent/WattzMCPE-MyPlot
 public function onDisable()
 {
     $this->dataProvider->close();
     $this->getLogger()->info(TextFormat::GREEN . "Saving plots");
     $this->getLogger()->info(TextFormat::BLUE . "Disabled the plot framework!");
     $this->getLogger()->critical(TextFormat::RED . "Shutting down to protect plots");
     $this->getServer()->shutdown();
 }
コード例 #2
0
ファイル: MyPlot.php プロジェクト: gitter-badger/MyPlot
 public function onDisable()
 {
     if ($this->dataProvider !== null) {
         $this->dataProvider->close();
     }
 }
コード例 #3
0
ファイル: MyPlot.php プロジェクト: Timm03/MyPlot
 public function onDisable()
 {
     $this->dataProvider->close();
     $this->getLogger()->info(TextFormat::GREEN . "Saving plots");
     $this->getLogger()->info(TextFormat::BLUE . "Disabled the plot framework!");
 }