|
1 | 1 | <?php |
2 | | -namespace gmp\eco\command; |
| 2 | +namespace gft\cur\command; |
3 | 3 |
|
4 | 4 | use CortexPE\Commando\BaseCommand; |
5 | 5 |
|
6 | 6 | use pocketmine\command\{Command, CommandSender}; |
7 | 7 | use pocketmine\plugin\{PluginOwned, Plugin}; |
8 | 8 | use pocketmine\permission\DefaultPermissions; |
9 | 9 |
|
10 | | -use gmp\eco\player\Player; |
11 | | -use gmp\eco\{API, Form, PluginEP}; |
12 | | -use gmp\eco\currency\Currency; |
13 | | -use gmp\eco\command\sub\{ |
| 10 | +use gft\cur\player\Player; |
| 11 | +use gft\cur\{API, Form, PluginEP}; |
| 12 | +use gft\cur\currency\Currency; |
| 13 | +use gft\cur\command\sub\{ |
14 | 14 | BuySubCommand, SellSubCommand, |
15 | 15 | SubSetCommand, SubAddCommand, |
16 | 16 | SubRemoveCommand, SubTransactionCommand |
@@ -48,7 +48,7 @@ public function onRun(CommandSender $sender, string $aliasUsed, array $args): vo |
48 | 48 | $currency = $this->currency; |
49 | 49 | $sing = API::getCurrencyManager()->getCurrencyByName($this->currency->getExchangeable())->getSing(); |
50 | 50 |
|
51 | | - /** @var \gmp\eco\player\Player $sender */ |
| 51 | + /** @var \gft\cur\player\Player $sender */ |
52 | 52 | Form::sendSelf( |
53 | 53 | "§l".$name." [".API::getCurrencyManager()->getPluginNameByCurrency($currency)."]", |
54 | 54 | "§l".$name." price: ".number_format($currency->getPrice(), 2, ".", ",").$sing."\nYou have: ".number_format($sender->get($name), 2, ".", ",").$currency->getSing(), |
|
0 commit comments