Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Commit

Permalink
ver2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MinecrafterJPN committed Jan 4, 2015
1 parent 23cbb9a commit d058205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ChestShop/ChestShop.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function onLoad()

public function onEnable()
{
if (file_exists($this->getDataFolder())) mkdir($this->getDataFolder());
if (!file_exists($this->getDataFolder())) @mkdir($this->getDataFolder());
$this->getServer()->getPluginManager()->registerEvents(new EventListener($this, new DatabaseManager($this->getDataFolder() . 'ChestShop.sqlite3')), $this);
}

Expand Down

0 comments on commit d058205

Please sign in to comment.