Update Main.php
This commit is contained in:
parent
5f87624103
commit
acd3273c72
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Main extends PluginBase implements \pocketmine\event\Listener {
|
||||||
public function onEnable() {
|
public function onEnable() {
|
||||||
$this->getServer()->getPluginManager()->registerEvents($this, $this);
|
$this->getServer()->getPluginManager()->registerEvents($this, $this);
|
||||||
Generator::addGenerator(BetterNormal::class, "betternormal");
|
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());
|
@mkdir($this->getDataFolder());
|
||||||
if(! file_exists(LootTable::getPluginFolder(). "processingLoots.json"))
|
if(! file_exists(LootTable::getPluginFolder(). "processingLoots.json"))
|
||||||
file_put_contents(LootTable::getPluginFolder(). "processingLoots.json", "{}");
|
file_put_contents(LootTable::getPluginFolder(). "processingLoots.json", "{}");
|
||||||
|
|
Loading…
Reference in a new issue