From 8ed8b6ea19e460db7ef57dcbb5aad44b74e7fdc8 Mon Sep 17 00:00:00 2001 From: TobyDev265 Date: Wed, 24 Mar 2021 15:42:35 +0700 Subject: [PATCH] Update v1.0.2 --- README.md | 2 +- plugin.yml | 2 +- src/TobyDev265/XPShop/Main.php | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f67ca65..5deb78a 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/plugin.yml b/plugin.yml index de39f68..014dd4e 100644 --- a/plugin.yml +++ b/plugin.yml @@ -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 diff --git a/src/TobyDev265/XPShop/Main.php b/src/TobyDev265/XPShop/Main.php index 03736ac..9174193 100644 --- a/src/TobyDev265/XPShop/Main.php +++ b/src/TobyDev265/XPShop/Main.php @@ -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"); } /** @@ -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); } }