Update Main.php

This commit is contained in:
Ad5001 2017-05-08 16:33:22 +02:00 提交者 GitHub
父節點 5f87624103
當前提交 acd3273c72
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

@ -40,7 +40,7 @@ class Main extends PluginBase implements \pocketmine\event\Listener {
public function onEnable() {
$this->getServer()->getPluginManager()->registerEvents($this, $this);
Generator::addGenerator(BetterNormal::class, "betternormal");
if($this->isOtherNS()) $this->getLogger()->warning("Tesseract detected. Not that some parts of the generator could not work properly");
if($this->isOtherNS()) $this->getLogger()->warning("Tesseract detected. Note that some parts of the generator could not work properly");
@mkdir($this->getDataFolder());
if(! file_exists(LootTable::getPluginFolder(). "processingLoots.json"))
file_put_contents(LootTable::getPluginFolder(). "processingLoots.json", "{}");