Browse Source

Quick fix #40

pull/37/merge
Λd5001 2 years ago
parent
commit
082a8060f9
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/Ad5001/BetterGen/Main.php

+ 2
- 1
src/Ad5001/BetterGen/Main.php View File

@@ -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", "{}");
}

Loading…
Cancel
Save