This commit is contained in:
Λd5001 2018-01-28 16:07:55 +00:00 зафіксовано GitHub
джерело 40a6206409
коміт 082a8060f9
Не вдалося знайти GPG ключ що відповідає даному підпису
Ідентифікатор GPG ключа: 4AEE18F83AFDEB23
1 змінених файлів з 2 додано та 1 видалено

@ -66,7 +66,8 @@ class Main extends PluginBase implements Listener {
$this->getServer()->getPluginManager()->registerEvents($this, $this);
Generator::addGenerator(BetterNormal::class, "betternormal");
if ($this->isOtherNS()) $this->getLogger()->warning("Tesseract detected. Note that Tesseract is not up to date with the generation structure and some generation features may be limited or not working");
@mkdir($this->getDataFolder());
mkdir(LootTable::getPluginFolder());
mkdir(LootTable::getPluginFolder() . "loots");
if (!file_exists(LootTable::getPluginFolder() . "processingLoots.json"))
file_put_contents(LootTable::getPluginFolder() . "processingLoots.json", "{}");
}