Skip to content

Commit

Permalink
Update v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyDev265 committed Mar 24, 2021
1 parent 0bc34a8 commit 8ed8b6e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![](https://poggit.pmmp.io/shield.state/XPShop)](https://poggit.pmmp.io/p/XPShop)
[![](https://poggit.pmmp.io/shield.dl.total/XPShop)](https://poggit.pmmp.io/p/XPShop)
[![Discord](https://img.shields.io/discord/821713643170430978.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/dXZNYu2yxx)
# XPShop v1.0.1
# XPShop v1.0.2
**Buy and sell XP.**
``NOTE!`` Make sure EconomyAPI is installed.
# Config
Expand Down
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: XPShop
author: TobyDev265
version: 1.0.1
version: 1.0.2
description: Buy and sell XP
api: [3.0.0]
main: TobyDev265\XPShop\Main
Expand Down
6 changes: 3 additions & 3 deletions src/TobyDev265/XPShop/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function onEnable()
@mkdir($this->getDataFolder());
$this->saveDefaultConfig();
$this->cfg = new Config($this->getDataFolder() . "config.yml", Config::YAML);
UpdateNotifier::checkUpdate("XPShop", "1.0.1");
UpdateNotifier::checkUpdate("XPShop", "1.0.0");
}

/**
Expand Down Expand Up @@ -55,8 +55,8 @@ public function onCommand(CommandSender $sender, Command $cmd, string $label, ar
}
});
$form->setTitle($this->cfg->get("title"));
$form->addButton($this->cfg->get("sell_button"));
$form->addButton($this->cfg->get("buy_button"));
$form->addButton($this->cfg->get("sell_button"), 1, "https://raw.githubusercontent.com/TobyDev265/XPShop/main/assets/sell.png");
$form->addButton($this->cfg->get("buy_button"), 1, "https://raw.githubusercontent.com/TobyDev265/XPShop/main/assets/buy.png");
$sender->sendForm($form);
}
}
Expand Down

0 comments on commit 8ed8b6e

Please sign in to comment.