Skip to content

Commit c75edb0

Browse files
committed
なんでここだけmoneyにしちゃったんだろ
1 parent c1377c8 commit c75edb0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/space/yurisi/SecureCoinAPI/SecureCoinAPI.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
use pocketmine\plugin\PluginBase;
77
use space\yurisi\SecureCoinAPI\command\addcoinCommand;
8-
use space\yurisi\SecureCoinAPI\command\mymoneyCommand;
8+
use space\yurisi\SecureCoinAPI\command\mycoinCommand;
99
use space\yurisi\SecureCoinAPI\command\seecoinCommand;
1010
use space\yurisi\SecureCoinAPI\command\takecoinCommand;
1111
use space\yurisi\SecureCoinAPI\database\coinJson;
@@ -25,7 +25,7 @@ protected function onEnable(): void {
2525
$this->history = new historySQLite($this);
2626
$this->getServer()->getPluginManager()->registerEvents(new LoginEvent($this), $this);
2727
$this->getServer()->getCommandMap()->register('SecureCoinAPI', new addcoinCommand($this));
28-
$this->getServer()->getCommandMap()->register('SecureCoinAPI', new mymoneyCommand($this));
28+
$this->getServer()->getCommandMap()->register('SecureCoinAPI', new mycoinCommand($this));
2929
$this->getServer()->getCommandMap()->register('SecureCoinAPI', new seecoinCommand($this));
3030
$this->getServer()->getCommandMap()->register('SecureCoinAPI', new takecoinCommand($this));
3131
self::$main = $this;

src/space/yurisi/SecureCoinAPI/command/mymoneyCommand.php renamed to src/space/yurisi/SecureCoinAPI/command/mycoinCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
use pocketmine\player\Player;
99
use space\yurisi\SecureCoinAPI\SecureCoinAPI;
1010

11-
class mymoneyCommand extends VanillaCommand {
11+
class mycoinCommand extends VanillaCommand {
1212

1313
public function __construct(private SecureCoinAPI $main) {
14-
parent::__construct("mymoney", "所持金を確認します", "/mymoney");
14+
parent::__construct("mycoin", "所持金を確認します", "/mycoin");
1515
}
1616

1717
public function execute(CommandSender $sender, string $commandLabel, array $args) {

0 commit comments

Comments
 (0)