Skip to content

Commit

Permalink
Fixed update doesn't working
Browse files Browse the repository at this point in the history
  • Loading branch information
HelloWorld017 committed Nov 19, 2015
1 parent f483ea2 commit b71ffb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Khinenw/AruPG/ToAruShop.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Khinenw\AruPG;

use Khinenw\XcelUpdater\UpdatePlugin;
use Khinenw\XcelUpdater\XcelUpdater;
use onebone\economyapi\EconomyAPI;
use pocketmine\event\block\BlockBreakEvent;
use pocketmine\event\block\BlockPlaceEvent;
Expand All @@ -23,6 +24,7 @@ class ToAruShop extends UpdatePlugin implements Listener{

public function onEnable(){
@mkdir($this->getDataFolder());
XcelUpdater::chkUpdate($this);

if(!is_file($this->getDataFolder()."shops.json")){
file_put_contents($this->getDataFolder()."shops.json", json_encode([]));
Expand Down

0 comments on commit b71ffb6

Please sign in to comment.