Skip to content

Commit

Permalink
Fixing Problem
Browse files Browse the repository at this point in the history
  • Loading branch information
ArasakaID authored Mar 10, 2020
1 parent 096fe3f commit bc81735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CrateKeyShop/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function shopFrom(Player $player){
}
});
$form->setTitle("CrateKey Shop");
$form->setContent(str_replace(["{MONEY}", "{PLAYER}"], [\pocketmine\Server::getInstance()->getPluginManager()->getPlugin("EconomyAPI")->myMoney($player), $player->getName()], $this->getConfig()->get("form.content"));
$form->setContent(str_replace(["{MONEY}", "{PLAYER}"], [\pocketmine\Server::getInstance()->getPluginManager()->getPlugin("EconomyAPI")->myMoney($player), $player->getName()], $this->getConfig()->get("form.content")));
$form->addButton("§eCommon\n§aPrice: §e".$this->getConfig()->get("common.price"));
$form->addButton("§eUnCommon\n§aPrice: §e".$this->getConfig()->get("uncommon.price"));
$form->addButton("§eMythic\n§aPrice: §e".$this->getConfig()->get("mythic.price"));
Expand Down

0 comments on commit bc81735

Please sign in to comment.